A patient begins having generalized tonic-clonic seizure activity.The nurse's FIRST priority action is to: