yeast infection

my fertile window is now & I think I have a yeast infection. I did have sex the day before my fertile period could I still get pregnant this cycle ???? should I still be having sex now ?