In Shock Wave Lithotripsy, X-rays or ultrasonic waves are used to locate kidney stones. The machine then sends down energy waves that break the stones into smaller pieces, which are then excreted or passed through the urine.