It is important for you to realize that hatred is mostly a mind game. So try to talk yourself out off this mind game. Keep reminding yourself that your job is not bad, you don’t hate it. Talk to a friend or a close family member. Ask them to help you realize your job is not bad.
Try searching the good outcome of your job. If you job, for instance, is resulting in the benefit of people and the society, and then keep reminding that to yourself. There is no better satisfaction than doing well to others.
If you have a job which is monotonous and boring, then try talking to your supervisor about it. Ask him to practice job rotation with you. That will improve your skills as well as your boredom will be countered.
Make friends at work. When you will have friends at work it will motivate you to stay in that job and become a reason to come to the office.
If your supervisor is not easy to talk too then try to find methods in which the repetitive tasks can become more interesting. Find more efficient, simple and interesting ways of doing repetitive tasks.
There must be some sort of reason why you decided to take up your job. Every day, remind yourself of that reason. This will further help.
Another effective way is to decorate your office in a manner that the workplace becomes more interesting for you. And you start enjoying the environment in which you are working in.
Lastly make sure that you are able to identify the root cause of your hatred towards your job. If it is something which can be eliminated and is in your control then do it. And if it is something which is not in your control then deal with it psychologically.