Sorry to hear you had a panic attack, aren't sleeping and meds aren't working.

I've had panic attacks at times myself, even when your head says you're fine, everything else says 'run away'. It's a pain to deal with even with meds for it.

I hope things settle down for you and maybe your dr will give you something so you can get some much needed rest.

HUGS