The nerve sending the pain can be cut as it exits the skull before it reaches the skin. This is usually done through a small skin incision. Alternatively, alcohol or glycerol could be injected into the nerve to damage it.