Sometimes, anger and frustration are caused by very real and inescapable problems in our lives so they are natural responses to these difficulties. Not every problem has a solution. Sometimes the best thing to do is not to focus on finding the solution, but rather on how you handle and face the problem. Make a plan, resolve to give it your best, and check your progress along the way, but do not punish yourself if an answer does not come immediately.
Angry people tend to jump to, and act on, conclusions. Most of those conclusions are inaccurate. The first thing to do if you are in a heated discussion is to slow down. Do not say the first thing that comes into your head. Think through your responses. At the same time, listen carefully to what the other person is saying and take your time before answering.
It is natural to get defensive when you are criticized, but do not get angry, instead, listen to what is being said and to the intent of the words. If it is constructive criticism, take it to heart. It is hurtful criticism; deal with it in a rational, calm manner.