If you wake up from a nightmare, techniques such as deep breathing, progressive muscle relaxation, visualizing soothing scenes, engaging in comforting activities, and practicing mindfulness can help you fall back asleep.