Loneliness

How do you deal with loneliness? I spend most of my time alone. I want to be alone because I can’t handle too much but I actually miss people. This is without the lockdown.