It takes 7 days for the medicine to cure chlamydia. If you have sex within 7 days after taking the medicine, you could still pass chlamydia to your sex partners. While condoms offer good protection, the safest way to not infect anyone else is to not have sex for 7 days.