when is it safe to have unprotected sex,so one does not get pregnant