What’s wrong with the red spot on the inner thigh that hurts when I wash it?

Whatever the cause of the erythema on the inner thigh, when localised maceration, erosion or ulceration occurs, the integrity of the skin is disrupted, the barrier function is impaired, sensitivity to external stimuli is increased and washing with water of slightly higher temperature may also lead to localised pain.