If Sally has nightmares and flashbacks due to a trauma she faced, this is known as post traumatic stress disorder (PTSD).
Additional information:
Post traumatic stress disorder is a disorder that causes a victim who has experienced traumatic event, to experience flashbacks or anxiety of attacks of that scenario. PTSD is present when a victim has not yet fully recovered from the incident that took place in his or her life time.