Yeast infection help

So I have a yeast infection and baby is due in 8 days XD I'm very worried about transferring it if she comes early :/ I took the 7 day treatment of monistat. have any moms experienced this? Did your baby develop thrush or get a yeast infection? Thanks :)