How long panic last

How long does a bad panic attack last for you how do you go from i need too call 911 to im fine glad that's over especially with hyperventilating