Hi there ~
It is unclear to me as to what the chronology of your symptoms were, except for the fact that there was something that happened a month ago in your sleep that worsened your symptoms. I am unclear of what the details of the "panic attack" in you sleep was, however there are various sleep disorders that may cause you to have anxiety
symptoms during the day. I recommend that you see a psychiatrist
as soon as you can, with your parent/guardian. I hope this helped.