Most STIs are highly preventable. The only way to completely avoid catching an STI is to avoid any sexual contact with anyone, for most people this is not practical.
The best ways to reduce the risk of STIs are;
- Use condoms during sex
- Regular STI testing for yourself and your sexual partner
- Limit the number of sexual partners
- Do not have sex if you or your partner have symptoms which may be related to an STI.