A piece of advice I gave my kids that I try to remember for myself as well:

You can get mad, or you can get what you want.

Before you decide to be angry, decide if you’re willing to give up what it is you want because you can’t have both.