Beer and breastfeeding

I had two beers How long u have to wait in order to pump again i think theres a rule anybody know?