Nightmare/ anxiety

So my anxiety has been terrible I can barely eat and sleep sometimes. I had a nightmare I was possessed and it woke me out of bed and I felt like I couldn’t catch my breath. It wasn’t paralysis because I wasn’t stuck it just scared me. :(