Barrier methods, such as condoms, diaphragms, and cervical caps, prevent sperm from reaching the egg. They are effective when used correctly and consistently. Condoms also offer the added benefit of protecting against sexually transmitted infections (STIs).