Urgent advice please? 😢

This might be long but I need advice.. I broke up with my boyfriend in February. I went to the doctors about 3 weeks ago for pains that I had been getting in my ovaries and they did all the std tests to rule it out. To my surprise 2 weeks ago chlamydia came back positive which means my boyfriend had cheated on me of course which I didn't know. I was treated so the chlamydia has gone now. But I'm worried sick now because I have no idea how long I had the chlamydia and I'm so scared that it has affected my fertility as I read it can block up your fallopian tubes 😢 also I went back to the doctors yesterday because the pains I was getting are much worse so I will be having an external scan very soon to check my ovaries. If my ovaries turn out to be fine my concern will then be my fallopian tubes. Has anyone ever had chlamydia and got pregnant with no problem afterwards? If so how long did you have it? And can my fallopian tubes be checked by the scan too?