Category nasty people
The more problematic is what to do about people who have caused you pain, physically or emotionally. These people may be risky for you to associate with. You have to decide whether or not to allow the person into your personal circle.
We all have them, those people who drive you nuts like a mosquito. Or perhaps worse like a poisonous snake. Either way there is no escaping this life without having to deal with pests.
Both research and experience show that when people with anger problems change their self talk, their anger de-escalates and they regain control.