When you purchase a house you enter an agreement with the banks to pay a certain amount every month (or week/fortnight) until your loan is paid off. When you can no longer do this the banks get ready to move in. A single late payment is enough to cause the banks to start the process of foreclosing your home.
But you can stop or slow down or pay in some other way to stop the banks from just coming in a taking whatever they want. Normally people in foreclosure are confused and worried that their home is going to be taken away. Now lets see how we can make the situation better.
If you are unable to do any of the above actions then its time to look at how to stop a foreclosure.