Does food poising effect breast feeding?!?!

If i have food poising will it effect the baby sence I’m strictly breast feeding?! I had a sub and now i feel nauseous and i have wicked bad diarrhea and don’t feel great! Need mommy advice please!