How to control my anger and stop the cycle?

I have this exact brother. My daughter is about to be 5 and she is a total mini me. Her anger is out of control and I know it’s all my fault. I’m 9 months pregnant and hoping to do better with this one. I try my hardest to stay calm but 90% of the time my anger wins.

Prayers for you, I really hope you can get some help!