Welcome to the forums.
I hate nighttime anxiety! Luckily it doesn't affect me very often anymore, but its always awful to wake up anxious with no idea why its happened
I had some success with meditation before bed. I found that if I went straight to sleep after a stressful day I was more likely to have a night time panic attack. But when I took 10 minutes to meditate and calm my brain I often would sleep much better.
What helped the most is being on anti anxiety medication. I rarely have a nighttime episode now.
What do you do to try and get back to sleep? I used to get up and have a cup of chamomile tea while reading a book. It usually only took me 30 -60 minutes before I felt like sleeping again. I found I would get back to sleep alot easier this way than tossing and turning in bed.
Hope you get a good nights sleep soon.