Only barrier methods like condoms provide protection against sexually transmitted infections (STIs). Other methods, such as hormonal contraceptives, IUDs, and sterilization, do not offer STI protection. Using condoms in conjunction with another form of contraception can provide comprehensive prevention.