HI lonelyguy and forward only and welcome to the forums :)
I know it can be a struggle to get out of the house when you mental health is flaring up. I know when my depression is flaring up I struggle to even get out of bed and even doing normal jobs around the house can be difficult. I think it is good that you have a dog to give you company and to assist you. I know it may not seem like it, but even doing things with your dog is an achievement. I try look at the small achievements, especially if my mental health is not in a good way. Small achievable goals help. Such as: ok I'll clean my bedroom, text back mum etc. I know it may sound small, but it does help. It also helps keep you a little busy.
Do you see a psychologist or counsellor. I find for myself they are really helpful. They can help me process my anxious and depressed thoughts. They can help me deal with also. Maybe if you aren't seeing someone currently, it could be something to look into in the future.
I am glad you have come to the forums. It is a good place to get support from people have lived experience and understand