To prevent this it is recommended to sleep with a pillow placed between the legs.
Typically, if left alone, they will go for you to normal and heal during their own. They are stressed out, are toxic or are dehydrated. https://penzu.com/public/803619426a742116