yeast infection and period

So I have a yeast infection, and I usually use some cream that's supposed to be used for 7 days, the problem is that I should be getting my period sometime next week and I was wondering if I could still use this 7 day cream even while on my period or is it bad ??? Is there something else I can use