Being kind and courteous to everyone is a good general attitude to have and it's essential when you're dealing with someone who hates you. Treating everyone with respect and dignity is the most civil thing you can do so go forth and be kind.
The most direct way of dealing with the problem is to ask them what their problem with you is if they have not already made it clear. If it is their own personal problem, tell them to seek help and leave you out of it. It is important to remember that hurt people hurt people.
There's a quote by an unknown author: “A person hates you for one of three reasons: 1) They want to be you 2) They hate themselves 3) They see you as a threat.” People that are genuinely comfortable with themselves don't desire to be anyone else.
What is the quickest way to tell if a person secretly dislikes you?
Easy way to see if someone dislikes you: try asking some questions about their hobbies, friendships, or something else they enjoy. If they respond in short and cold statements, or simply 'yes or no' answers all the time, then odds are they just aren't for you.
Hate starts from negative assumptions, images and beliefs about a certain group. These negative assumptions are called stereotypes. In times of crisis, stereotypes can become stronger and lead to hate toward members of a group.
Research shows that hatred changes the chemistry in the brain as it stimulates the premotor cortex which is responsible for planning and execution of motion. This prepares us to act aggressively when feeling hateful, either to defend or as an attack .
The same areas of our brain become activated when we experience rejection as when we experience physical pain. That's why even small rejections hurt more than we think they should, because they elicit literal (albeit, emotional) pain.
Make the first move in order to fix any broken friendship. Invite them for tea, go see a movie, go on a double date, or just stop by their desk. Get out there and talk to each other. A lot of the time, people only hate others because they don't know or understand them.