All joking aside, drinking more water is genuinely the most effective way to prevent kidney stones. Everyone should drink more water.
Also there's something about high concentrations of caffeine and sugar ingested at the same time that correlates with higher occurrences of kidney stones, with energy drinks being the worst offenders.