Sexually frustrated 😫

I’m on day 3 of a yeast infection treatment and I’m about to loose my mind 😱 I need to masturbate or something will that throw off my treatment will have to start over?