I got my first and so far only (fingers crossed!) kidney stone five years ago. At that time I started drinking lemon juice with hot water to start each day before consuming anything else, and it has so far kept any recurrence of kidney stones away. I really do believe the lemon juice has been key for me in this regard, and it is in any case a very healthy thing to do daily anyways (known and practiced by other cultur…
I've had more than a few stones over the past couple decades, and when I finally got myself in to see a urologist, that was one of her primary recommendations.
That, along with some other treatment, seems to have helped considerably (only one non-trivial stone in the last ~12mo & the few others were barely noticeable).