When DNA damage occurs, the cells have mechanisms to repair it, but these mechanisms are not always perfect. If the damage is not correctly repaired, it can result in mutations or chromosomal aberrations. Certain mutations can activate oncogenes or inactivate tumor suppressor genes, leading to uncontrolled cell proliferation. Over time, the accumulation of such mutations can cause a cell to become cancerous.