“You’re wrong about that!”

How many times has it happened that you’ve been taught to do something a certain way and someone then does it differently and you blurt out “You’re doing it wrong!”

How many times have you been sure of your facts and someone says something you’re sure is wrong and you’ve said “You’re wrong about that!” …only to be proven wrong later?
Just how DOES a person deal with this?