Angry1541 has great advice!
As far as avoiding future mishaps:
This may seem rather simplistic, but it helps me: I remember what I was taught as a child...
It goes like this: IF I DON'T HAVE ANYTHING NICE TO SAY, DON'T SAY ANYTHING AT ALL. Those are good words to live by, no matter how out-of-control you feel.
If I need to confront somebody because they offended me, I try to be civil.
Yes, it is easier said than done, but I must be kind, reasonable and civil or face very painful consequences. It's a matter of thinking before we act.
I feel for you. My tongue is more dangerous than a nuclear bomb.