Treatment for small bowel obstruction caused by a hernia usually involves surgery. A doctor may recommend dietary changes after your surgery, such as eating smaller meals more frequently, avoiding high fiber foods, focusing on soft foods and liquids, and limiting caffeine and tough foods.