Drink a lot of water (half gallon per day, minimum, and make sure that the water consumption is fairly steady: drinking nothing from bedtime to morning and at work and chugging a bunch of water at 8 am and 5 pm is better than nothing, but may not cut it).
Adding lemon juice to the water you drink may help.
Avoid foods rich in oxalate, like spinach, kale, collard greens, almonds, beets, etc. If you are going to indulge in those things double the water intake for the next 1-2 days.
Above advice is for calcium oxalate stones, which are by far the most common kind. Uric acid stones require different dietary recs. Hydration is the most important factor in preventing all kidney stones, except struvite stones, which are due to chronic kidney infection.
No material on this site is intended to be a substitute for professional medical advice, diagnosis or treatment. See full
Medical Disclaimer.