Look up Huberman Labs on youtube regarding sleep. I try to adhere to these things:
-look at the sun when I wake up for a few minutes and also throughout the day to set circadian clock.
-no screen time or bright lights after 10pm
-take an Apigenin supplement (I stopped taking melatonin due to the nightmares) apigenin gives me vivid dreams but not scary, screaming dreams like melatonin. Also magnesium supplement once in a while.
-soft music or boring podcast as I sleep.
Do all the “sleep hygiene” stuff and find some lavender oil , place a few drops around your bed - on a cotton pad, wipe it on a wooden headboard wherever. Helps with sleep and also bonus insect repellent.