Usally you cant relly tink straight during a panic attack but here is a few thing syou could do
rink water, Usally you'll be breathing heavily so you dont want to get all dry and feel shit.Leave areas with lots of people try and find a quite place,Have someone with you to comfort you, Someone to hold your hand or hug you.Tell your friends that you get panic attacks and that they should try and help you by taking you somewhere quiet.I hope this helps