A. Yes, you can masturbate. It does not affect the treatment. During the first 7 days after taking the medication the infection can still be passed from one person to another. That is why people are instructed to abstain from sexual activity with another person for 7 days.