Spinal cord stimulation may also relieve severe pain. For this treatment, electrodes are surgically placed along the spinal cord. The electrodes deliver an electrical current to the spinal cord. Your health care provider may recommend stimulating the brain itself, either through surgery or externally by placing electrodes or magnets on the outside of the head.