Opinions Pls

Currently I have a yeast infection and am taking medicine for it from my doctor. I ended up having sex and my BF came inside me so I had to take plan B. My period was supposed to be in a few days. Do you think plan B will still be effective on yeast infection medicine? I don’t think you’re suppose to mix those 2 drugs. I know I messed up so please don’t be mean.