It may be hard to do, but you should try to focus on moving forward and making positive changes. After a failure or a setback, identify those negative thoughts and then turn your attention to the next step or the next positive thing you have going in your life. Soon, you'll be able to move past that failure.