Sweating in sleep

Hi guys, I know someone that sweats immensely in their sleep, no matter if it's hot or cold it happens! Does anyone know what causes this or to solve it as they won't go to the doctors 🙄😂