This accumulation could be of calcium, oxalate, urate, cystine, xanthine, and phosphate, there are some pre-existing conditions that may also lead to kidney stone formation so, treating them adequately and in time may also help you avoid this problem.