Can you masturbate if you're overcoming a yeast infection?

I'm realllyyy horny but I don't want to make it any worse