If the mind notices every time anger arises, then we can change the outcome. In the beginning, we react each time because we’re not aware. Later, we know the mind – mental action, verbal action and physical action – these 3 processes.
If you know the mental actions, then you have a choice – you have the space – then, you can watch and learn.
It is better not to do anything when the mind is angry. When my teacher, Sayadaw Shwe Oo Min didn't like anything he would stay quiet, very quiet. He didn't say or do anything; just keeping quiet.
If you say or do anything, it is already wrong.