I had some sleep issues (nightmares in my case) as well my therapist suggested I keep a dream journal, I always have had vivid dreams so I don't know what causes them the best I can suggest is work out in some free time and it will exhaust your body to sleep better.