Always examine the reasons behind your dislike of someone.

It is either that they remind you of your own shortcomings or that they exhibit characteristics you secretly wish to cultivate.

This is not to say that you have to like everybody. Some people are just unlikeable.