If you are pregnant and have chlamydia, you can pass the infection to your baby during delivery. This could cause an eye infection or pneumonia in your newborn. Having chlamydia may also make it more likely to deliver your baby too early. If you are pregnant, you should get tested for chlamydia at your first prenatal visit. Testing and treatment are the best ways to prevent health problems.