Joseph Murphy, in The Power of Your Subconscious Mind, taught that when you have negative thoughts about other people, you should replace them with positive, loving, and harmonious thoughts.
Not for the other person's sake necessarily, but to protect your own mind and life from the destructive effects of negativity.
Then again, it is easier said than done.
How the hell do you push away negative thoughts that come from past experiences, even when you know they'll just manifest more bad shit?
You get distracted for one second and you're back to imagining the worst.