a contraceptive device is used for prevention