STIs are infections transmitted through sexual contact like intercourse, oral, or anal sex. Using condoms during sex is the best prevention method, though STIs can still occur if condoms break or are not used. If you suspect you have an STI, you should see a doctor for testing and treatment, as STIs will not go away without medical intervention.