I was in that spot some months ago, and I'm slightly better now. I had finished my degree and I was supposed to look for a job, but nothing really interested me. I kept checking for new jobs online everyday, but I never found anything I liked. I was only getting out of the house to go to the gym twice a week. I was sleeping 10 hours a day and sleeping any less would make me feel really sleepy before dinner.
Now I found something to do. I'm still coming out of that situation though. I still spend all day at home but now I'm actually doing something, not just wasting time on the computer. I started having online classes in physics and chemistry and will soon start psychology and biology, even though my degree is completely unrelated to all that. It simply fills up some of my time, it's interesting and it gives me a reason to wake up in the morning. I'm sleeping 7~8 hours a day now and I feel much better than when I slept 10.
I think I already found out what I want to do for a living, but I still have to get the courage to go out and try it. Until then, I'll keep myself busy with things I find interesting instead of wasting all my time on the computer.
So I think you should keep your mind busy with something. It doesn't have to occupy all your day, but it should take at least a couple of hours a day. Not doing anything turns into boredom and boredom turns into depression. So focus on something. It doesn't have to be outdoors if you can't do it. It can be indoors or even on the computer, as long as you're focusing on a particular activity. Volunteering seems like a good option according to many people here.