Doxycycline for Chlamydia

How long do I have to wait after the 7 day treatment to have sex