Sunburn can happen within 15 minutes of being in the sun, but the redness and discomfort may not be noticed for a few hours. Repeated sunburns can lead to skin cancer. Unprotected sun exposure is even more dangerous for kids who have many moles or freckles, very fair skin and hair, or a family history of skin cancer.