Constipation is common after surgery. It may be necessary to take a stool softener for the first month. Foods that can help resolve constipation are pureed prunes, applesauce and oatmeal. Drinking plenty of water and moderate exercising also helps.