IYou need to learn to control the situation by not allowing unwanted things to get to you. As you go through life they will always be there - the trick is to accept them for what they are and to either turn them into a positive spin or just ignore them.
I recognized the same tendency in myself early in my training, decided I didn't need or want to go that route, realized my reaction to the other person was totally defensive and ego-based and decided - so what if he thinks I need correcting? so what if he thinks I'm wrong and I don't? That's not a reflection of who I am, it just doesn't matter.