You’ve just put your foot in your mouth.
Stepped in it.
Given into a hurtful impulse.
Blown your top.
What matters, however, is what you do next. In fact, it’s the only thing that matters.
Some people spend a lifetime regretting a wrong move, a mistake, a missed opportunity. Feeling bad? Showing remorse? Punishing yourself? Just ways of trying to make it look like you care, and all of them distractions from doing what’s next.