Spermicide contains nonoxynol-9, a chemical that destroys sperm cell membranes, making them unable to fertilize an egg. It is used alone or in combination with other contraceptive methods, such as condoms, diaphragms, or cervical caps, to enhance their efficacy.