I used to be like that. I rarely ever left my house when I lived with my parents.
But there is plenty to do. I actually sometimes wish I had done more with that time. You can do one of two things.
1. Go out and enjoy whatever there is to do around town or outside.
2. Get some hobbies you can do indoors.
I used to just play video games, listen to music, and talk to people online in various places, but I've discovered many hobbies now that I wish I had started to do back then (when I had more free time).
Indoors you could try to do things like painting, reading, gaming, crafting (anything), writing, etc. Anything that fills your time, but more particularly with things you can actually learn to do better.
Outside you can do gardening, riding a bike, checking out the scenery, photography, or just go to town (if you are near enough) and visit the 'hang out' spots and maybe meet some new people.
If you're uncomfortable being at home for that long it's probably best you get outside. But if this feeling is just because you're bored, then just try finding a hobby. There are so many great things to do in this world, just find something that you really enjoy.