I read an article (Web MD?) where it stated that the most effective way to prevent recurrence of kidney stone is to drink water - iirc it was 8 cups. There were also warning against eating too much - whatever too much is - spinach and rhubarb.
Yes, spinach, rhubarb, nuts. There are others. The key is to not let the oxalic acid build up but to flush it out before it “turns to stone”. One always has this; you don’t want excess. Drinking beer and wine can actually help keep stones from forming. But not hard alcohol.