When you feel a panic attack coming on do some square breathing. Panic attacks are generally brought on by hyperventilation due to fear.
You may not THINK you are hyperventilating, but you are and that causes all kinds of symptoms of tingling, fast heart rate, smothering sensations, etc. What you do is concentrate on your breathing and breathe in to the count of 7, hold it there to the count of 7, breathe out to the count of 7 then hold it THERE to the count of 7. Keep doing this over and over for about 2 minutes or until you start feeling more relaxed. It may be REALLY hard to do it when you first start, you will be compelled to take a quick breath in, but DON'T you will only feed the panic/anxiety. I used to get panic attacks in the middle of the night, they were horrible! After I learned this it worked so well I'd end up falling back to sleep in the middle of what WOULD have been a full blown attack!
You had the first real horrible feeling at night, so now night is your "trigger" for this.