Transcranial magnetic stimulation, or TMS, may help people who have not responded to medication. With this non-surgical treatment option, a health care provider places a coil on your scalp. This coil sends magnetic pulses that stimulate mood-regulating nerve cells in your brain.