Advice..

Can I take doxycycline for chlamydia the day after unprotected sex? Someone told me they have it and I want to take it...