A nurse is providing care for a patient recovering from abdominal surgery. The patient reports discomfort and difficulty in urinating. Which of the following measures should the nurse implement first to promote the patient's elimination?