Barrier methods are forms of contraception that prevent sperm from reaching the egg. They are typically used as a means to prevent pregnancy and the transmission of sexually transmitted infections (STIs). Examples include condoms, diaphragms, cervical caps, and contraceptive sponges.