What is the best contraception to prevent a sexually transmitted infection (STI)? The condom is the only method of contraception that helps prevent STIs. Using a condom before genital contact offers protection against many STIs.