The key is: acknowledge that the person is driving you crazy. You can’t suppress that. But with observation, the pain will begin to wither. And the less you engage with the person, the less overall effect that person will have on you. Even if that person is close to you (and they often are. That’s why they get to push all of those buttons), find out ways to not engage. Say hello in the hallway, smile nicely, but no engagement. Put a quota on yourself how much you can complain or feel anxious about that person in a day.