It is impossible to not love someone.
You can pretend you hate him/her, but actually you just fear to love him/her, so you use hatred to "protect" the fear.
For your own sake, accept the fact that what you really want is love, not fear nor hate.
This doesn't mean you have to be with that guy physically, but just means you stop using him/her to hurt yourself.