Question: how to stop thinking about nightmare?
Answer: Calm down and just relax. Nightmares are known to cause physiological responses such as an increased heart rate and a cold sweat. Practice some meditative techniques to get your mind off of your dream and calmed enough to return to sleep. Practice deep abdominal breathing to relax your heart rate.