Drinking plenty of water to help your body flush oxalates out. Consuming enough calcium, which binds to oxalates during digestion. Limiting sodium and sugar intake, which may contribute to kidney stones at high levels.