a contraceptive prevents a woman having sex from becoming pregnant