When about to lose a home, is there anything to stop the foreclosure process?

source Foreclosure