What you can try
If part of the key is clearly sticking out of the keyway and you can grip it with fine pliers or tweezers, pull it straight out gently without twisting. That is the only self-help we suggest.
What makes it worse
Pushing another key into the lock, using the broken stub to turn it, glue on a stick, or trying to hook the fragment with wire can push it deeper or jam the pins. Those attempts are the most common reason a simple extraction becomes a repair.
Secure the door
If the door is open and will not lock, keep someone there or secure it another way, such as a second lock. If it is closed and you are outside, this is also a lockout; tell us on the call.
After extraction
Once the fragment is out, the lock should be tested with a good key. If the key broke because the lock was stiff, that underlying problem is still there. Mention it so our residential or commercial lock service can address the cause rather than only the symptom.
Business doors
If the key breaks in a business door, the urgent question is whether the premises can be secured. Keep an authorized person on site, use another lockable entrance if there is one, and have the owner or manager reachable when you call. Describe the door type and whether it is the only way in.