Skin cancer is caused by mutations in the DNA of skin cells that cause uncontrolled growth. The main types are squamous cell carcinoma, basal cell carcinoma, and melanoma, which is the most dangerous. Risk factors include fair skin, moles, sun exposure, and family history. Protection methods involve limiting sun exposure, wearing protective clothing and sunscreen, and monitoring moles.