If I get upset and sit around, brood, and tell everyone how upset I am, I'll only get more upset.
On the other hand, if I actually get off my ass and do something productive, I will distract myself and feel at least marginally better.
However, I keep forgetting this and not remembering it until I've wasted time and productivity in whining and feeling like shit.