If you tried everything to avoid foreclosure, but the bank ended up foreclosing anyway, take heart, there is help after foreclosure. While it does not come in the form of saving your lost home, it will assist you in being able to purchase a new home.
The internet is a good place to begin looking for help after foreclosure. While there seems to be more information on preventing foreclosure, there is good information available to help after foreclosure. Many of these sites recommend the same things. The first is to not immediately begin to look for a new mortgage. Most lenders will view your foreclosure as a very high risk.