Question: how to stop thinking about someone you hate?
Answer: If you don't like someone, just forget about their existence. Because you don't need to really spend your mental energy and hate someone. To hate someone, you will have to spend your mental energy over them. Instead, ignore their existence, don't even think of them and just carry on with your own life.