Loneliness is a difficult emotion to cope with. You are not alone. I feel lonely too. Some things that help me are going out for a brisk walk (endorphins help), curling up under a blanket and listening to my favorite soothing music, reading (gets me out of my head). I like the suggestions others made too. Getting help from a therapist could help. So could volunteering in some way. Hang in there.