Anyone who has had problems in life has overcome them to find success, and you must have a plan for dealing with failure that will make you a more productive person. The choices that you make will change the way you live your life, and you will feel much more confident because you are using this plan to get over your failures. There are many failures that people have because they just need another chance, and you need to talk it out with someone so they can give you some perspective.
The choices that you make after a failure will determine how you perform, and you are much better off getting back on the house and trying again the next day.