Breast feeding

Can I have mc Donald’s if I’m breast feeding? I heard fast food isn’t good while breast feeding because it can pass on stuff to the baby