To reduce the risk of getting infected with chlamydia, use a condom each time you have sex. Limit the number of sexual partners, or consider practicing abstinence.
If you think you are infected, avoid sexual contact and see a doctor. If you test positive, your partner should also get treatment. Get retested after three months, even if both you and your partner appear infection free.
Most doctors recommend that all people who have more than one sexual partner, especially women, be tested for chlamydia regularly even in the absence of symptoms. It is also recommended that all sexually active women under age 25 be tested yearly as well.