The nurse is caring for a patient who suddenly experiences a tonic-clonic seizure. Which nursing action would be the priority?