When you say something in a heated situation and then regret it.
If you’re human, it happens.
Best thing to do is realize you’re human,
What was said, was said, the bell has rung, and there’s no taking it back; apologize and tell yourself you’ll do better next time.
Then move on.