Chlamydia treatment, help?

So I forgot to ask my doctor and it's such a hassle to get in contact with her. So I got my medication which was just two pills. I took them, how long until I can have sex again. How long until I'm cured?? Help please