Oncogenes can contribute to cancer through several mechanisms. They can lead to the production of excess growth factors, increased activity of growth factor receptors, or the activation of intracellular signaling pathways that promote cell division. Furthermore, oncogenes can prevent programmed cell death, allowing abnormal cells to survive and multiply.