You can wait 2 hours after consuming them then pump. No need to throw.. unless you feel unsafe then can throw. No need to wait for days to feed your baby. Just 2 hours is sufficient. However try your best to avoid alcohol if possible. https://www.cdc.gov/breastfeeding/breastfeeding-special-circumstances/vaccinations-medications-drugs/alcohol.html
I remember the breastfeeding group mentioned, if you’re not drunk, no need to pump and dump.