It is not recommended to have sex while you have an active STD, as this can increase the risk of transmission to your partner. It is important to wait until you have completely overcome the symptoms of STDs.