sun burn and coconut oil

Can you use coconut oil on sunburn to help moisturize and reduce itching on a child?