I disengage my feelings so that I wont be annoyed, irritated or angry as I interact with that person. That way I can treat them quite neutrally.
In most situations so far it has been people who have some sort of personality disorder, or a personality that just rubs me the wrong way and it is of no importance, making it not worth doing anything about. I understand how that person is limited to a certain set of behavior and that changing it is often impossible.
So I just don't speak to them unless I have to.
I will confront people if they are out of line. It depends on severity how angry I will sound. I will still be respectful and address the issue, not the person.
But generally I don't tend to have conflicts with people. I don't make suggestions or corrections of people where I know it will have no effect. I nod along with what they say, then do my own thing anyway. If I do attempt to make corrections, I either ask somewhat "innocently", not making a suggestion per se. Or I just say it in a nice way in general.
I do tend to have good relations with most of my co-workers. I've had very few dramatic encounter.s