Non stop nightmares

Maria

So ever since my husband left me back in august i cannot sleep the name, i sleep very late or stay up, i now twitch in my sleep and sleep talk at times ( at times i still think I’m talking to him or other stuff) reasons why i don’t like sleeping anymore are... 1 i have no stop nightmares about my ex husband or trauma/ abuse from my past 2nd i don’t like to sleep alone because of my nightmare

It’s non stop nightmares from trauma or from my parents/ her husband. I wake up drained, depressed. What is causing my nonstop nightmares ??? ( they prescribed me sleeping medicine, but i don’t take then since i have non stop nightmares.

I’m 21 also