If your house is being foreclosed upon, look into filing a Lis Pends, foreclosurefish.com has brilliant information on the process, Filing that prevents most buyers from making bids on the house while you sort out your case. Always save all of the paperwork you get from your mortgage company, Hire a lawyer, don't file for Bankruptcy, Bankruptcy lawyers will tell you that's your only option because they want your business, but that will put you in financial jail for years! A lawyer can work wonders if they know what they're doing, and they can also get your legal fees back. Its rough to get laid off, but if you take hold of the situation, work on being marketable for a job, and educate yourself about foreclosure, you'll recover.