Drinking plenty of fluids is generally recommended when it comes to stone prevention.
Oxalate tends to bind calcium and other minerals that can lead to stone formation. So, avoid certain vegetables and fruits with high oxalate levels.
Citric acid helps prevent calcium oxalate stones by preventing their formation and stopping the growth of existing stones.
Animal protein sources are rich in purines. These compounds are broken down into uric acid and may increase the risk of forming uric acid stones.
High intake of sodium increases the release of calcium, which is one of the major risk factors for kidney stones.
A high calcium level diet, along with less sodium and animal protein can actually help with kidney stones, as opposed to the common belief.
Foods like tofu and legumes are high in magnesium content which is known for preventing calcium oxalate kidney stones.