Most contraceptive methods are designed to prevent pregnancy and do not offer protection against sexually transmitted infections (STIs). However, the male and female condom are barrier methods that provide a degree of protection against STIs by preventing direct contact between bodily fluids. It's important to note that while condoms can reduce the risk of STIs, they are not foolproof. To ensure both pregnancy prevention and STI protection, combining condom use with another form of contraception is recommended.