Defaulting on debt can crush your credit and finances — but taking early action can help you avoid the worst risks.