Electroconvulsive therapy (ECT) is sometimes called shock therapy. This may sound painful, but ECT doesn't hurt. It's often the safest and best treatment for severe depression. It can treat other mental disorders as well.