Is it true that while he himself did not like, you will not like others?

How to learn to love yourself ?What to do ?Specific practice ?!