It's completely okay to be a loner, or not to want to socialize and talk to people.
If you find yourself feeling uncomfortable around people, it's completely okay to want to be alone.
I think we all deserve me-time, just to sit here, alone, and think about life. I think we all deserve to breathe the fresh air, rest a little from all the hyperactive people. Marilyn Monroe said: "I restore myself when i'm alone." I feel like this. I feel more healthy when i'm alone, and less hurt and less disappointed and less sad. Talking about real life, not online. You can dislike real life people, but find some kind people online. Though it's important to have real life communications too, you have to understand what is reality and what is digital. You can talk with your family, or someone close to you or to your family member, and have some friendly conversations. I am not saying you have to talk 100% of times. I am saying that you can have just a few, maybe 2 or 5 conversations in real life. Rest when you want. Create your own time to be alone, think of your life and life in general, think about deep topics. You do not have to always talk and always be active. Just be here when you can. Do everything you can. Be alone when you want to, and talk when you feel like it. Surf the internet when you want. Just live your life, be happy, be alone if you want to be, be alone if that makes you feel happier, but if you feel happier around people, then be around people. We all want happiness, and we all try to get it. Some people are happier alone, like me for example, but some are happier when they are talking to others. You probably met a lot of annoying or unlikeable people, or you just cannot relate to anyone, and you think to yourself that being alone is the best way to live. I do too. You are not the only one who feels like this. I have always disliked how loners are potrayed as some no life always angry losers that hate everyone, but that is most of times not true. Some people have good friends, but still prefer to be alone. It's ok. There are reasons people feel this way. And some loners are actually happy in life, some loners have a good family, some loners have achieved something in life, not every loner is an angry person who hates 100% of the humanity. Sorry if this sounds a bit narcisstic, since i'm a loner and i feel like someone who isn't a loner wouldn't type this. Who knows.

Tl;dr: It's ok to be alone.

I apologize if this post is hard to understand gibberish, i was losing ideas while typing it.