Curious..

I know you can’t have sex for two whilst taking doxycycline for chlamydia (and you should really wait to be retested). But I’m curious whether you can masturbate alone or with a partner whilst taking doxycycline treatment.