The noun is first recorded 1640s, "a medicine or treatment to prevent disease;" meaning "condom" is from 1943, replacing earlier preventive (1822), preventative (1901). Condoms originally were used more to thwart contagious disease than to prevent pregnancy.