Chlamdyia

Has anyone ever had it while pregnant and does the one time medicine for it kick it out 100%? And will it harm my baby? I've lost three previously and just wondering if it will be gone for sure I'm so paranoid about it.