A patient underwent a total colectomy and ileostomy.For this patient, the most crucial nursing intervention is to: