YI and period

Can I use monistat or a yeast infection medication while I'm on my period?