The cervix comes in contact with sperm during unprotected sex, which makes the cervix at risk to sexually transmitted infections. Some of these diseases are linked to the development of cervical cancer.