Why do we sometimes lose our temper even though it is bad for our well-being and what can we do about it?

I have just seen an advertisement from a party that is supposed to be right-wing extremist and people are told not to vote for them and that is manipulation and at some point it makes me aggressive and I feel bad about it, but not because of the party that is supposed to be right-wing…