From Wiktionary, the free dictionary
From after- + sun.
aftersun (not comparable)
- Describing a cooling or moisturizing lotion applied to the skin after exposure to the sun, especially to soothe sunburn.
Apply aftersun lotion to avoid peeling and flaking caused by sun damage.