How do you get rid of the peeling skin from a sunburn?

Moisturize. Keep it. Oust and dead skin will gradually peel off. Cerave is good choice.Limit sun exposure because you are more sensitive after burn.
SImple means. Sunburn is response of the tissues to injury from solar radiation. It is simply inflammation which means increase blood flow to the area to promote healing. Do not use ice as this can injure already injured skin. Cool water soaks can help as can taking anti-inflammation medicines like Motrin or advil (ibuprofen). Avoid any further damage as this can cause scarring . Good skin cream applied daily/gently helps.