Magnetic stimulation produces an electrical current in the brain that when targeted at specific areas, such as the superficial cortex, can shock it back to normal.