How to deal with bankruptcy most effectively