STDs & infertility

I've had an STD before (chlamydia) & i got treated for it but then i reinfected myself w/ the same guy because i thought he got treated too so then i had to get treated again  & ive read that the more you encounter the STD you can end of having inferility issues & that scared me bc i want kids in the future! basically will me having it twice affect me?