I am being treated fro chlamydia with 10 days of doxycycline twice per day. How soon after treatment is over, should I retest? How soon before sex?

2 weeks. Retesting is generally done about two weeks after treatment. Definitely make sure your partner gets tested and treated completely before resuming sex.