Instead of dwelling on your growing feelings, move to a de-escalating action and leave room for everyone, especially the person in the wrong, to save face and self-correct

Step 1:

Acknowledge that you heard the person, followed by a pause. That buys time for you both to cool off

How to Not Act Like a Jerk When With Someone Who Is