It’s as easy.
I rather disengage from the conversation, because when in anger, you are only going to say words that don’t hold meaning. At the same time, they are going to pierce the recipient.
And when you have calmed down, you can objectively solve for the problem.
To deal with anger, the only thing we need is calmness to look at it objectively.