I agree with the other posters, here.
I am unable to enjoy social events anymore, I am afraid of going out and having a beer, because I may get a panic attack and my friends will think I am crazy...
With panic attacks, we will tend to embrace avoidance mechanisms for what we perceive has a possiblity of precipitating a panic attack. You have linked the two together: drinking and 'losing it'. So, when there is the potential for a social engagement that might include drinking (which is nearly all the time, when we are younger:), then we have near immediate urges to avoid the situation entirely so that there just isn't any possiblity of us having a full blown "I'm F-ing dying here" panic attack in front of our friends, or anywhere in public for that matter.
Avoidance behaviors, though incredibly common, are just not a good longterm defense in learning how to live well alongside anxiety / panic issues. Our circle of avoidance tends to expand and it has the potential to make us fear many situations in life and, ultimately, leaves little left that we are aren't 'afriad of' (as far as bringing on a panic attack, possibly). 'Possibly' means LIKELY - DEFINITELY - SURELY - AUTOMATICALLY, etc., when we are struggling with our mental health challenges. Overwhelmingly, one of the major ways to help 'rewire' our minds is to not avoid situations and actions we have found ourselves fearing. Responsibly, I cannot tell someone to simply go out and get hammered:) But, I can say avoidance behavior is pervasive with panic attacks, so maybe you can try to have a drink with just one good friend or a family member in a comfortable environment and 'test' things out:)
If you are on meds, then it would be advisable to drink little (or not at all). Run your drinking habits past your Doc, if so.
Not drinking is cool, too. Moderation is the key, if you do, though. Hangovers and anxiety do not mix well, generally. And with anxiety issues, we tend to worry about potential damage to our bods a lot, as well.
Peace and Feel Well:)