In the stop-and-wait protocol, the sender only sends one frame at a time and waits for an acknowledgement before sending the next frame. This ensures that the sender does not consider a delayed acknowledgement as the acknowledgement for a different frame. The acknowledgement that the sender receives is specific to the frame that was sent, and the sender will only move on to the next frame if it receives the correct acknowledgement for the current frame.