i had never had any kind of anxiety or anything until the night my dad died. i was trying to sleep and i couldn't and woke up to what i thought was my heart about to explode out of my chest. i had them the next few nights following that.
over the next few months i would have one on average once a month, either while i'm sleeping and it would wake me up, or while i was about to fall asleep. it finally scared me enough to go to the doc, who also happens to be a friend of my dads, and he said it is pretty normal what i was going through.
i exercise regularly and am pretty active outside of that, and wasn't stressed at my job, but it was strictly how i was dealing with my fathers death. he gave me some xanax which i ended up using like 4-5 times over a 2 year period, and it did help when i got it.
but i haven't had any xanax in a while now. i've randomly had the anxiety attack while trying to sleep sometimes in the past few months, and now i can mentally deal with it. i know that nothing is going to happen to me so i just take really slow and deep breaths, and usually it goes away after a while. it will usually come back a bit after though, and i wish i had the xanax to help it go away, but it didn't.
my most recent one actually was the night i moved into my first home and i was sleeping. i guess the stress of the move finally got to me.