If the person is alone and doesn't have a medical safety helmet, your priority should always be to protect the head first.
Put a pillow or clothes under their head without holding it. If you don't have anything, put your hand on the ground to limit the damages. Once again, don't hold any part of the body!
Check if nothing's making the person suffocate and secure the space around them.