Chlamydia and masturbation.

So i took my medication to be treated for chlamydia yesterday, they told me to avoid sex for 7 days. Is it okay to masturbate with clit stimulation? I'm sorry if this sounds stupid i know nothing about this whole chlamydia thing..