Has your vet suggested any of the prescription foods? Usually if a pup stays on them, they don't have repeat stones.
I have a pup who had a surgery prior to coming to me...then he had stones right after I got him a few years ago. He has been on RC SO canned since then and has had no further issues. It does depend on the type of stones what a vet will recommend in terms of food, but diet is very important!
Welcome to YT.