TMI STD QUESTION

hi all, recently an old boyfriend told me he got diagnosed with chlamydia and that i’m the last person he has slept with. i’m devastated because i asked him if he was tested before having sex and he said yes and that he was clean. i have no symptoms but thats normal for this std. i have probably had it untreated for 2-3 months, and i am scared because i heard it can lead to PID and infertility. i am getting tested in 4 days and will go on pills if testing positive, but i am scared i waited too long. do you think i could be infertile due to this? i’m only 18 and don’t know what to do. please help!!