Here are some steps to overcome failure:
1) Accept your mistakes and apologize if needed rather than denying errors.
2) Remain calm and avoid taking out anger on others, such as through exercise.
3) Do not compare yourself to others but understand that everyone has setbacks.