Chlamydia is transmitted through sexual contact with an infected person. This includes vaginal, anal, and oral sex. It can also be transmitted from a mother to her baby during childbirth, which can lead to complications such as neonatal conjunctivitis and pneumonia.