Pepto & breastfeeding

I felt so nauseous tonight and took Pepto tonight and like an idiot forgot to check with my doctor before taking it. How bad is it for breastfeeding? How long should I wait until I can give my daughter my breast milk?