Two checks that solve many cases
First, the steering lock: if the wheel was turned when the car was switched off, the lock can bind. Turn the wheel gently left and right while turning the key with light pressure. Second, the gear selector: on automatics, make sure it is firmly in park; move it out and back in. Some vehicles also need the brake pressed.
Signs of a worn key
Compare your key to a spare if you have one. Rounded, shiny cuts and a slightly bent blade are signs of wear. If the spare turns smoothly and the everyday key does not, the key is the likely problem. If neither turns, the ignition itself is more likely involved.
Do not force it
Pliers, hammering and lubricant sprays are common improvised fixes and common causes of a snapped key or damaged ignition. If gentle checks do not work, stop. A key broken inside the ignition makes a simple problem harder.