It is an old adage, and well worth remembering:-
You cannot please everyone.
There will always be some who like you, some who do not. The only way to deal with it is to accept it. If somebody does not "like" you, then ignore them. After all, if they hate you they are not worth bothering about.