Preventing chlamydia involves practicing safe sex methods such as using condoms consistently and correctly, limiting the number of sexual partners, and ensuring regular STI screenings. Nurses should provide education on these preventive measures and encourage open communication about sexual health.