I think the best way to avoid depression is to exercise.
Even if you have negative thoughts, you can deal with them more easily if you exercise regularly.
If you supplement this with, for example, a sauna or joint romantic wellness with your husband, I think things will improve in your relationship as well. You have to prepare for the fact that you have to get better on an emotional level first, and then the physical healing will follow.
But on an emotional level, you have to give more, and then you will get more. I know it's hard for you to create something positive first, but the universe will make up for it. (or god or whatever you believe in)
Maybe you supplement it with some alternative spiritual thing and eliminate the cause itself.
Week after week, do something for yourself, your health, your family, create money, and lift yourself up spiritually. I think if you follow these you will be fine!
Unfortunately, medications only treat the symptom and will not eliminate the cause itself!
Economic crises, epidemics, and wars come and go these days, but despite that, what I have written are partly my own experiences.
I hope I was able to help, and if you have any positive experiences, I would be happy to hear them.