I believe that loneliness comes in waves; it is part of the human condition unless you deny your true feelings. It will go away in time. Be patient. Learn how to enjoy and embrace the solitude and your own thoughts. Listen to the Universe; there might be an important message that you would not hear if you were surrounded by other people’s noise.
Look for whatever interests you, and join interest groups of people with the same likes. Just google your interests, find local clubs or organisations for your interests. You will meet people you can relate to. Finding a lover can be good, whatever your preferences, the internet makes it much easier than it used to be!