It has been found that drinking more than 2.2 liters of water every day helps prevent UTI. And drinking plenty of water during a UTI helps flush out bacteria.