The best way to prevent STIs is to avoid vaginal, oral, and anal sex. If you have sex, use condoms correctly every time. Avoid multiple sexual partners. Do not share used needles or syringes.