I unfortunately have suffered from Kidney stones and I feel your pain bro! Most important thing is to drink ALOT of water throw a splash of apple cider vinegar in for good measure but in all honesty you just have to let the damn things pass which sucks but it is what it is!
To prevent uric acid stones(kidney stones), cut down on high-purine foods such as red meat, organ meats, and shellfish, and follow a healthy diet that contains mostly vegetables and fruits, whole grains, and low fat dairy products. Limit sugar-sweetened foods and drinks, especially those that contain high fructose corn syrup. Limit alcohol because it can increase uric acid levels in the blood and avoid crash diets for the same reason