Chlamydia

My boyfriend of about a month found out his ex had chlamydia so we both went to go get tested. We both came back positive and the doctor gave is medication. We didn't have sex except for once a week later with a condom. My doctor had me come back 3 weeks later to test again and it still came back positive and of course she gave me more Meds. I Have to go back again in 3 weeks and this is just very frustrating. Does it normally take more than just one dose of the medication to get rid of it?