If you are diagnosed with a sexually transmitted disease, take preventive steps to keep yourself healthy. Take all of the prescribed medication as instructed, try to avoid physical contact while you are getting STD treatment, wait until your doctor allows you to have intercourse, talk to your partner about your STD so that they can take preventive measures about testing and treatment, and always use protection while indulging in intercourse.