Well... I wish I knew the answer to this. I don't.

I hate myself.

But in my case it is with good reason.

I'm not trying to change it... just accept that it is the way it is.

Anyway, as a result of that, I'm really not in a position to tell you how to learn to love yourself. (Perhaps there will be some other members, here on PC, who will have some suggestions.)
In the meantime, though, here are links to some articles, from PsychCentral's archives, on the subject of how to learn to love yourself. Hopefully some of the information in them can be of some help:
https://psychcentral.com/blog/self-l...love-yourself/
https://psychcentral.com/blog/how-to...dium=popular17
https://psychcentral.com/blog/how-to...dium=popular17
https://blogs.psychcentral.com/imper...dium=popular17
https://blogs.psychcentral.com/imper...dium=popular17