Diagnose and treat the infection in time to avoid the serious complications of prolonged or recurrent infection (pelvic inflammatory disease, infertility, ectopic pregnancy). Prevent the spread of the chlamydial infection by examining and treating the sexual partners of the infected patient.