If antibiotics are not taken properly, the infection will not be cured. The number of days you take antibiotics depends on your illness and the type of antibiotic medicine. Azithromycin and doxycycline cure chlamydia in up to 95 out of 100 cases. Some people may not be able to take these medicines but are able to take a different one.