Usually we say, “Don’t hate anybody!” Do you know why you shouldn’t hate someone? When you hate someone, their impression become strong in you. You become like them. Not having hate someone is not for their sake. Your hatred makes you like them. Also, you become like the person whom you love. Because love and hate, in fact, are same. Hate is love standing upside down. Hate is distortion of love. Through knowledge, through awareness, you can go beyond love and hatred.
You should not hate anybody because no motion in this universe is straight, every motion is in circle, even the parallel lines meet at infinite, so it'll make circle of infinite radius, so if hate anybody those emotion won't end at the person to whom you are hating, it propagates & in a very long run it came backs to you to complete the circle, and that will be thousand times or even more stronger. So you shouldn’t hate anybody, but the question is how to control the hatred?
Hatred arise when you don’t like something but can that this means you like the opposite of that what it means it’s just that love standing upside down..
Now, for what to do is- just look at the circumstances that led for that thing to happen. Its neither the fault of that particular person nor yours for getting angry. It’s just that it happened and you cannot do anything about what has already happened. So just forget it and accept it, you start loving things all over again