Chlamydia

So I end up having this std for about a year. I thought I took care of it pretty quickly but then ended up finding out it was still there a year later. I again took care of it immediately. 
My question is, will this have any effect on me getting pregnant? 
They said the infection didn't spread beyond my cervix.