A nightmare is a disturbing dream. Nightmares can cause physical symptoms in the body and may cause a person to wake up with a racing heart. They might also experience sweating and shaking. Night terrors can also cause a person to wake up feeling panicked and with a racing heart.