Set a 5-minute timer to watch your thoughts.

This, in a nutshell, is the practice of mindfulness meditation. Gaining awareness of your mental habits will help cool emotional reactivity, so keep at it daily.