Galatians 5:22-25
22 But the fruit of the Spirit is love, joy, peace, longsuffering, gentleness, goodness, faith, 23 Meekness, temperance: against such there is no law. 24 And they that are Christ’s have crucified the flesh with the affections and lusts. 25 If we live in the Spirit, let us also walk in the Spirit.
Take your own temperature to see where you are too hot and or too cold in situations that will cause you to be angry and fall into sin. The bible says to be anger but sin not.
Espesians 4:26
Be ye angry, and sin not: let not the sun go down upon your wrath:
2 Peter 1:6
6 And to knowledge temperance; and to temperance patience; and to patience godliness;
Meaning God understands our emotions because he created them and in fact he has them too but he doesn't sin. So Jesus was and is and will always be the example we should live by when it comes to controlling our anger. A man (woman) that can't control his spirit is like a city without walls. It's ok to be angry but it's not OK to lash out on folks venting is different and having heated fellowship and or a discussion with someone that you have a disagreement with is ok just as long as it doesn't turn into throwing darts and bows.
The Word of God in Roman's 12:18
If it be possible, as much as lieth in you, live peaceably with all men.
Berean Study Bible
Romans 12:18
If it is possible on your part, live at peace with everyone
So when we get to a point of anger we feel there is no return from we need to remove ourselves from the situation to cool down and pray. It would be foolish to say be prayed up so you will never get anger that's not realistic but it's never foolish to stay prayed up to be able to have Holy Ghost insight on how to handle your temper and have a spirit of temperance when the trial or situations arises. I've found that personally often times I'm not really angry but the emotion I might actually feel is hurt or discouragement or disappointment so we need to as I say before feel, deal and heal with that feeling as it comes because we maybe misplacing our anger and we haven't been fair to ourselves to actually discover how we really feel. We just run to anger because it's really easy to get mad and release thinking it will make us feel better but because we walk by the spirit of God and not our flesh we won't be condemned or cut off from God but the Holy Spirit will allow conviction to arise up in us once we have blown off steam. If you hear God you will be able to allow yourself to receive peace from his word and eventually calm down. Don't let your temper knock you off the tempo of God and rob you of your peace.
Romans 12:1-2
1 I beseech you therefore, brethren, by the mercies of God, that ye present your bodies a living sacrifice, holy, acceptable unto God, which is your reasonable service. 2 And be not conformed to this world: but be ye transformed by the renewing of your mind, that ye may prove what is that good, and acceptable, and perfect, will of God.