Perform a rectal examination to evaluate for the presence of hematochezia or melena.