A kidney stone is like a pebble stuck in a narrow pipe. The ureter squeezes hard to push it along, which is why the pain comes in waves.
About 85% of stones are calcium oxalate, which are radio-opaque. The first-line analgesic is an NSAID, with IV paracetamol if NSAIDs aren't suitable. Within 24 hours, image with a non-contrast CT KUB, or with ultrasound for children and pregnant women. Stones under 5 mm usually pass within 4 weeks; alpha blockers help distal ureteric stones under 10 mm. Larger stones need shockwave lithotripsy, ureteroscopy or, if over 20 mm, percutaneous nephrolithotomy. An obstructed, infected kidney is a surgical emergency needing urgent decompression.