Failure is never pleasant. It hurts adults and children alike. But it can make a postive contribute to your life once you learn to use it. Step one is to ask,"why did i fail?" Resist the natural impulse to blame someone else. Ask yourself what you did wrong, how you can improve.If someone else can help, don't be shy about inquiring.
Sucess, which encourages repetition of old behavior,is not nearly as good a teacher as failure. You can learn from a disastrous party how to give a good one, from an ill-chosen first house what to look for in a second. Even a failure that seems total can prompt fresh thinking, a change of direction.