Many STDs are treated with antibiotics. If you're given an antibiotic to treat an STD, it's important that you take all of the drug, even if the symptoms go away. Your doctor also may give you antibiotics to give to your partner so you can be treated at the same time.