If left untreated, it can lead to serious long-term health problems. One of the complications that chlamydia can cause is erectile dysfunction (ED). However, this tends to be the result of chlamydia infecting a man's prostate and causing prostatitis. It's not uncommon for men with prostatitis to also have ED.