This is an idea from Stoicism
Remember the CAB rule:
Emotional Consequences (C) do not stem from Adversity (A), but your Beliefs (B) about the adversity
Hence, it is required that in order to control strong emotions (good and bad), we train ourselves to consistantly reason about our emotions moment to moment (which is not easy and requires understanding and practice).
Questions to ask:
If we are angry,
Take action only after answering, or after attempting to answer the above questions.
Take the most likely case and act acording to it.
References:
r/Stoicism
https://www.reddit.com/r/Stoicism/comments/sp7cd6/how_to_not_become_reactive/hwdjif5?utm_medium=android_app&utm_source=share&context=3#philosophy