The rational and the irrational mind
The beauty is we are wired for both of these. The irrational is based off your reaction. It feeds your ego. The rational is when we reflect, look at the situation and approach it with a well thought out response. Humans are wired for both.
Take time and practice using your rational mind. Train it as you would a muscle. It’s difficult because the irrational mind will always be there. Learn to understand the way you react to the world
Its a continual battle within yourself that I have trouble fighting daily. Good luck