Other frequently used medications include antipsychotics, which alter the effects of dopamine, and electroconvulsive therapy, which works like a carefully controlled seizure in the brain, is sometimes used as an emergency treatment.