If you have gonorrhea and chlamydia, you will get medicine that treats both infections. Avoid all sexual contact while you are being treated for an STI. If your treatment is a single dose of medicine, you should not have any sexual contact for 7 days after treatment so the medicine will have time to work.