I have a friend whose kidneys are a little different, and it causes her to get kidney stones all the time. It is genetic. I would advise you to see a kidney specialist, being as young as you are, and find out the cause of the stones, and do what the doctor says.
I know kidney stones passing are supposed to be very painful. Praying for you to find out the cause and some way of controlling or eliminating them.
Yes, it's important to get a stone analyzed to know what to change.
Unfortunately out of 9 urology specialists in 5 states over a 20 year span, only one knew a little about the real cause of my annual stones, but she stuck with the conventional treatments. They are still recommending drastic reduction of calcium intake, which in the log term causes other health problems, like cardio disease and bone problems. Calcium supplements have to go. All that is wrong. The body needs recommended calcium intake every day. A urologist will pass off the side effects to your other doctors to treat. But then the family physician will likely put you back on calcium food sources, saying you might die from lack of it.
The website I posted recommends asking your health provider to determine the causes and limits of that compound, but I've never met one that had a clue.
If everyone with calcium oxalate stones (the majority of stones) cut oxalate from the diet most general urologists would soon be out of business. Our local hospitals keep an 18 wheeler lithotripsy van parked there for non-stop sound wave blasting. My estimated out of pocket cost for all their treatments over 20 years was $110,000 as of Aug. 2010. It had to give up a good job to go into private business building private lakes, a very hard way to make money, the heat and dehydration working against me, multiplying stones.
Once I got the oxalate out of my body, that one surgery ridding the thumbnail sized stone from my bladder was just $330 out of pocket. I have been free of stones since then, and my kidneys are back to normal.
It's "just" a matter of sometimes depressing elimination of certain foods you really like. I like keeping a vege garden, but know I can't have more than 1/2 cup serving of tomato, okra, yellow squash, white or sweet potato, celery, carrots, beans etc. My goal is to limit all oxalate to 80 mg daily.
Following the diet lets the oxalate crystals dissolve and leave. Medical experts claim you can't do that, but I am on record as having done it, and now many people have also. They call the elimination of my 17 stones the size of peanuts in the shell and cockle burs "a medical phenomenon".
Boiling it down, I am a man that should not be eating what ranchers call pasture weeds that cattle eat.
Today I pray away temptation to revert back to those old garden feast habits.