Not necessarily. Only latex or polyurethane condoms, including internal condoms, protect against both pregnancy and STIs. For protection against STIs, it's important to use condoms in addition to other forms of birth control that only protect against pregnancy.