The best way for your doctor to find out what kind of stone you have is to test the stone itself. If you know that you are passing a stone, try to catch it in a strainer.
Your doctor may ask for a urine sample or take blood to find out what is causing your stones. You may need to collect your urine for a 24-hour period. These tests will help your doctor find ways for you to avoid stones in the future.