Cervical cancer can be prevented by vaccination against the human papillomavirus (HPV) and screening and treatment of precancerous lesions.