Exposure to UV radiation is a major risk factor for most skin cancers, including basal cell carcinoma, squamous cell carcinoma, and melanoma. Consistent use of sunscreen can help prevent these cancers by blocking or reducing UV radiation that reaches the skin.