Firstly, pick your battles.
If it is something worth fighting for, speak up. That doesn’t mean get into arguments. Before you speak, have your thoughts in order. State your position when you know how you want to say everything. If it is a situation where you can support yourself with documentation, have that ready.
If it is not worth speaking up about, make peace with yourself.
Look at yourself from within, outward. If the planet were to explode right then, is this anger something you want to have with you your very last moment of life? No. So shake hands with it, say, “nice knowing you” and send it down the road. Don’t let it build a nest inside of you. It is junk. Think of yourself like a home. Do you want stinky junk cluttering you inside? Of course not. So, mentally picture the problem packing a suitcase, and heading off to the airport.
It takes some practice at first, but it gets easier after a few tries.