Yeast infection

Simon
I think I have a yeast infection but I'm also on my period and I can't use a pad because I'm a surfer. Is it unsafe for me to be wearing a tampon if I have a yeast infection?