Plan B and Monistat?

Kr

I have been taking Monistat because I have a yeast infection but I just took a Plan B because of reasons. If I continue to use Monistat will that affect the effectivity of the Plan B I just took? I’m sorry if this is a silly question but thank you to anyone who replies.