Panic attack during pregnancy ?

I'm currently having a panic attack; I'm 8 weeks pregnant and don't know what to do. I've tried everything to calm myself down and it's just not working. I can't seem to stop hyperventilating. I'm prescribed xanax .25 for the condition when not pregnant and am seriously considering taking 1. Anyone have any advice?
​Rude comments not needed I'm having a very hard time trying to decide right now.