Chlamydia???

If you had chlamydia for just over 2 weeks before getting treated could it cause infertility?