Nightmare fix
I know because I've done this it helps... Ask your doctor
Try nightmare therapy. Ask your doctor about it. I had extremely violent, gruesome nightmares where I woke up in a cold sweat, couldn't breathe, and was completely exhausted and could barely function. I told my psychologist about it and was referred to a nightmare therapist.
Basically, what was done, I had to write down my nightmare. Then, the first night change the first paragraph to a good theme. Second, night change the second paragraph. And so on, until the whole nightmare was completely changed to a good one. Basically, tricking your mind and you controlling your dream.
Also, I have a weird talent of remembering every dream and every little detail to the point if I don't write it down, I'll have it again. So, I have a dream journal. One, in which, the nightmare therapist suggested I do anyways.
Next thing, hopefully not your case my case was so severe, so bad that I was put on Hydroxyzinenot hydroxycut. It's an allergy pill that has been medically proven through the VA to help reduce nightmares. I've been on it for 8+ years and have had maybe 2 or 3 nightmares. Although, my case was severe, hopefully yours isn't.
I speak from 10+ years of experience and therapy. I'm not an expert nor a doctor. So, my suggestion is talk to a doctor about getting a referral to see a nightmare therapist.