What do you take for panic/ anxiety attacks?

When the panic and anxiety are so bad you can barely function… what do you take rather than updose ?