Infertility after STI

Has anyone been able to get pregnant and then later down the line contracted an sti such as Chlamydia or Gonorrhea and then couldn’t get pregnant? Years ago I got and treated chlamydia and never knew how long I had it. I suspect a few weeks. Is that enough time to cause significant damage? I’ve been pregnant before and never been able to after. If it means anything, that was 9 years ago and I also put on a lot of weight since then.