I’m having violent thoughts towards others

These thoughts are only directed at one person, and are in relation to the pain the person put me through. I’ve noticed I have triggers that set these feelings off and I try to avoid them. I’m just looking for some guidance on how to deal with these thoughts. Does anyone have some positive coping mechanisms?