When you are wrong
I really hate when I’m wrong. Unfortunately for me, I am wrong a lot. As a matter of fact, I have been wrong enough that I consider myself an expert in how to deal with being wrong. I am sure I will have a chance to practice the advice I am about to give sooner than later.
As soon as you realize you are wrong, immediately acknowledge that you are wrong.