There are two ways you can handle this. If you still want to be his/her best friend, then you have to think about why you hate him/her. Then, you must nicely work it out with him/her. If you do not want to be his/her friend, then say something like, "Hey, I don't think we should be friends anymore." Be nice and gentle in either situation.