Excessive sun exposure is a major risk factor for skin cancer, including melanoma. Protecting your skin by using sunscreen, wearing protective clothing, and avoiding peak sun hours can help reduce this risk. Regular skin checks for unusual moles or changes are also important for early detection.