Miliaria rubra is a type of heat rash or prickly heat that happens when sweat becomes trapped under the skin. Children tend to get it more than adults because their sweat glands are still developing.