You could wake up and have a panic attack. It could be due to having a nightmare or a nocturnal panic attack. Just like daytime panic attacks, symptoms such as sweating, rapid heart rate, increased breathing rate, among others, may be present. Panic attacks usually come unexpectedly so they are terrifying and scary making it difficult to go back to sleep.