In almost all cases filing bankruptcy will stop the foreclosure process. When you file bankruptcy, the law imposes an “automatic stay” against creditors pursuing certain actions such as foreclosures. The automatic stay stops the foreclosure process to give you time. You may be able to reinstate your mortgage. If you filed a previous bankruptcy case that was dismissed by the court, the automatic stay in a subsequently filed case may be shorter or may not be imposed at all.