Some people are able to moderate drinking after periods of binge drinking but if you find you can’t moderate after multiple attempts to do so, your best strategy is to just quit.
It can be hard to not have anything to drink when everyone else is, but it’s better than making a fool of yourself somewhat frequently