Anteriosuperior view of a diaphragm. A diaphragm is a female mechanical contraceptive that blocks the cervix so sperm cannot enter the uterus. It should be used in combination with a spermicidal agent. A diaphragm is only available with a prescription and needs to be fitted by a doctor. When used correctly, it has a failure rate of 17%. It offers minimal protection against STDs.