'A single dose of doxycycline taken within 72 hours of unprotected sex dramatically cuts the risk of a bacterial S.T.I., studies have found. The approach seems most effective for preventing chlamydia and syphilis, and slightly less so for preventing gonorrhea.'