I'm gonna guess that you have less than 10 years experience? I sounds like you do. My suggestion anyway is to read or re-read the book peopleware by DeMarco. It will help you build distance between you (the internal emotional you) and problems.
It's most important lesson is that there are no evil people which sounds trite but when you read the rest of the book you get the point.
I've read it quite a few times over my career.
Good luck.