The most common cause of cervical cancer is infection with high-risk strains of HPV, especially types 16 and 18. While HPV is common, most infections do not lead to cancer. Other factors, such as smoking, having a weakened immune system, and long-term use of birth control, can also increase the risk.