A sunburn is skin damage caused by ultraviolet (UV) light from the sun. The symptoms of sunburn appear within a couple hours after sun exposure. However, the full effects of the skin damage may take 24 hours to appear. Long-term damage, such as increased risk for skin cancers, can take years to appear.