SOS please reply lol

okay so i’m 39+5 days pregnant, doctor says baby is probably coming over the weekend. i KNOW i have a yeast infection!! i’m dying it’s so uncomfortable. itchy. weird discharge and a lot of it. and now i’m scared that it’ll pass to baby when i give birth because obviously there’s nothing that’s gonna get rid of it in 24 hours or less.... (i googled my life away and it’s possible.) anything i can do? :(