You need to come to terms with it, heal psychologically and slowly move on. But sometimes the impact is lifelong.
There is one theory that dreams are way of our brain to deal with the stuff that is in subconscious so we don't go crazy...
there is a technique that helps (somewhat) with trauma nightmares (and bad dreams in general).
Trauma Nightmares and Lucid Dreaming - Kellevision
__________________
Glory to heroes!
HATEFREE CULTURE