Will it still work if

I buy some cream stuff for yeast infection from Walmart while I'm on my period? I can't take this itching anymore