Pregnancy concern

I’m afraid i can’t get pregnant because i caught chlamidia from a guy , i wasn’t exactly sure how long i had it before it was treated . Is this true ? I also looked it up somewhere