it is used to prevent pregnancy