Almost every golfer will need a new shaft at some point during his golfing career. Clubs can be reshafted at most golf stores and country clubs, but if you are a do-it-yourself type, removing and/or installing a new shaft is a straightforward project that will save you money.
Place the shaft, or what remains of it if it is broken, in a vise parallel to the floor. Secure the shaft in the vise.
Apply heat evenly to the hosel for about a minute, using a heat gun or heat torch. This will break down the epoxy that bonds the shaft to the hosel and make removal easier. If you are working with graphite shafts, use a heat gun, not a torch. Wear goggles and protective gloves.
Remove heat from the hosel and twist the club head counterclockwise. It should twist off fairly easily. If it does not, apply more heat.
Clean out any remaining epoxy in the hosel. Begin using a file and scrape away the residue, then apply a solvent to a small rag and wipe down the interior of the hosel. You may want to push the rag in with the tip of a screwdriver or similar tool.