a thing where they stimulate an area of your brain with (IIRC) electromagnetism
Transcranial magnetic stimulation, probably. I did a round earlier this year. The only noticeable effect is that I now barely bite my nails after doing it my entire life. Like, that's not why I went, but it is indicated as a treatment for compulsive behaviors. So that's neat I guess.