> ... and let that moment go - it has NOTHING to do with you.
This applies not only to bad behavior of others, but sometimes even to your own bad behavior. We are 'moist robots' as one cartoonist puts it, and the sane thing is to not beat yourself up for something stupid you did or say, but evaluate the whole stituation later when you are in a better state of mind, learn from your mistake, make amends, and move on.