You can stop the foreclosure process by informing your lender that you will pay off the default amount and extra fees. Your lender would prefer to have the money much more than they would have your home, so unless there are extenuating circumstances, this should work.