Stomach Flu

Vanessa • Former Navy wife and Soon to be a mother of 2 boys! They will be 8 years apart.
I've been having contractions on and off for 4 days and of course I'm not dilated. Which is fine, because I'm almost 36 weeks (gotta keep him cooking a little longer). I went in this morning because, TMI, I couldn't keep anything down both ways. L&D doc said I had the stomach flu, which triggered serious contractions! They gave me Stadol for the pain and zofran. The Stadol made me pretty much hallucinate when I closed my eyes. I was seeing crazy things! Has anyone ever had a bug while pregnant?  Did it affect the baby in anyway or cause preterm labor?