Cranberries. Eating cranberries can also protect your kidneys. Cranberries prevent the development and growth of ulcers and bacteria in your urinary tract, and can help manage current bacteria/ulcers because they make urine more acidic and help keep bacteria from attaching to the inside of the bladder.