Chlamydia???

My doctor says it’ll take a while for me to test negative for it after treatment, but he never specified. Does anyone know how long it takes to clear up? I’m really worried. I just found out today and it’s all I’ve been thinking about.