Our experiences shape who we are. When we’re unwell, instead of looking at what’s wrong or needs fixing, more understanding can come from considering how and the why.
Having tried numerous medications and psychological therapies; my life was at serious risk. For me, ECT was a last resort.
It depends what you expect from prayer as to whether you think prayer works. I’ve many experiences of prayer working because I keep an open mind.