Yeast Infection Treatment Question

Could masturbating while treating a yeast infection be counterproductive?