A nurse finds a patient on the floor bleeding from the head. The patient is awake and alert but begins experiencing loss of consciousness. What is the priority action of the nurse?