Bankruptcy is a way out of debt that provides an automatic stay provision which goes into effect as soon as you file. This prohibits most creditors from collection activity, such as harassing phone calls, lawsuits, garnishments, repossessions, and foreclosures. While some types of debts cannot be discharged in bankruptcy, others will be eliminated completely or restructured so that you can afford to pay them.