How to remove screws with stripped heads?
Damaged screws are extracted by drilling into the screw with a drill bit, then using a special screw extractor bit that is tapered and has threads which turn opposite to those of the screw.

The extraction process should be done slowly and carefully because the extraction process is more fragile than the normal insertion of a screw.

I found this to be a good write-up with pictures.