Chlamydia ?

Can having chlamydia in the past affect your chances of becoming pregnant?

About 3-4 years ago when I was pregnant with my first on my first dr appointment I had found out I had chlamydia, so it was treated ASAP & I’ve been trying to conceive my 2nd and I’ve had no luck.

I’m not sure if this std affected me .