Depression sucks.
If it just unmotivated, make yourself go out. Set that as a goal. Just to get out of the house. Then work on doing something outside. A short walk , then look for some longer ones and try those.
My wife makes me take the dog on walks once a week and that helps
If it’s more, you might need therapy. ¯\_(ツ)_/¯
Beyond walking the dog, I hate leaving the house. I can spike a panic attack doing the shopping.
Ymmv