Most cases of melanoma, the deadliest kind of skin cancer, are caused by exposure to ultraviolet (UV) light. Lower your risk of skin cancer by staying in the shade, wearing clothing that covers your arms and legs, and wearing sunglasses that block both UVA and UVB rays.