I'm a lil concerned

Malarie • 26 years old, Married, Mother of a 7 yr old girl & newborn boy!
Today I have not been feeling well at all! I went to the bathroom earlier today & had stuff coming out both ends. I was throwing up & diahrrea. I've been feeling so sick and nauseous since. I don't know if it's something I ate but now I'm concerned if I ate something bad that maybe it could effect the baby in some way. Please somebody, some advice or something