If a foreclosure sale is set to take place in the next few days, filing for bankruptcy is the best way to stop it immediately.