How can I stop feeling lonely?

Well it's not like I don't have friends or people to talk to sometimes, but no matter what I do or how much I talk to others it seems like I can't stop feeling lonely, for a moment it stopped and I felt great, but now the feeling has appeared again and I really don't know what to do, I'm trying talking to more people, trying to make new friends which is awesome, but at the same time I feel like I'm still lonely I could get more in detail but that would take too long haha, I just I don't know maybe someone has an answer for that, so if you do I will appreciate it.
How can I stop feeling lonely?
Post Opinion