1. Take a step back. Do you feel defensive? Emotions will cloud your judgement.
2. Explain your argument in three sentences to an impartial person. Does it sound reasonable?
3. Look for the common denominator. If you're always right and constantly disagreeing with people, maybe it's you.
4. Don't selectively seek out facts to back up your argument. Try to see the other point of view.
5. Swallow your pride. Say you're sorry and move on, with the respect of your colleagues. No one's always right.