Diagnosis of kidney stones is best accomplished using an ultrasound, intravenous pyleography (IVP), or a CT scan. Most kidney stones will pass through the ureter to the bladder on their own with time. Treatment includes pain-control medications and, in some cases, medications to facilitate the passage of urine.