Chlamydia while pregnant?

My boyfriend and I have been together for 8 years and I'm 8w1d pregnant and just found out a few days ago that I have chlamydia. I don't know what to do, and I've looked it up and seen that it can cause ectopic pregnancy or PID which can lead to miscarriage/infertility. I don't know how long I've had it but I'm so upset and going completely crazy wondering how it's gonna affect my baby. Has anyone else had this while pregnant? And did things turn out okay?