Hi Dear, It's a symptom you thinking too much about past or future. As you say you are alone, your thinking aggravate and manifest as bad dreams and puts you in depression or anxiety.
Hope your husband is aware of this problem. You should takle this problem jointly.
Next Steps
Both of you need to go for a counseling session to understand the root cause.
Health Tips
Find sources to divert your mind from thinking past or future. Build friendship among neighbours. Join Yoga or meditation classs to get occupied and bring down the uncessary thoughts. This will help you sound sleep. If you have sound sleep, uncessary dreams can be avoided.