[header] How to overcome a blow to your ego [title] Check anger as soon as it appears. [step] It's healthy and natural to become upset when your ego takes a hit. In fact, emotions such as anger are often the result of your ego responding to a perceived threat, and sending a message to your body that your mind is in distress. 
In these contexts, it's important to keep your emotions, especially anger, from getting the best of you. When you act or speak out of anger, indignation, or defensiveness, you'll likely wind up escalating whatever situation has aggravated your ego.