Nona pls, this is so common i have it too it's called low self esteem, i'm pretty sure most /feels/ miners here also have it, i don't know how to help you properly since i'm on the same boat but i just try to exercise caring less about if they truly like me or not, i know it's cheesy but i exercise this "i don't care" mindset and it does help in the end, drilling it into your brain is the hardest part though.
>Does it end? It'll end but it's probably going to take a lot of work. Maybe think about what would happen if people actually do hate yourself, think of every situation you can, even the worst ones possible.
What is it that you hate about yourself? Let's say your friends hate you, or your partner does stop liking you, what's the worst that's going to happen? Why do you care if random people hate you? Are you afraid of being alone?
Whatever happens though, even if the whole world ends up hating you, there's always gonna be one person that's going to be by your side all the time, and that's the authentic you. It's not all these nasty thoughts that ask you to be on guard all the time being afraid of people hating on you, but the one that's buried quite deep underneath all that self-hate and self-doubt. So fucking what if people hate you?