One thing for pain and mental state is an app named Headspace.
As I said in a previous post, I worked with a Clinical Psychologist for about 6 months.
(Luckily my company paid all the bills.)
He taught me hypnosis. At the end I could control my panic attacks and get my pain level from about 8 down to 4, which was huge for me.
For years and still today I use the app. Maybe because I've had a lot of meditation experience, but now 20mins can take me to a calm place and help set up the rest of the day.
The Headspace app was origionally started by a monk who spent years at monostaries. He has since left the app. but some of the meditation programs in the app are still great for controlling pain and generally being in a good headspace.
For me I just repeat the 365 day program, but there is a specific Pain Managment meditation.
As with addiction, meditation takes time to work.
Also the simple act every morning of walking out to give rice to the monks, sets up the day.
Like in the old days we used say The Lord's Prayer before eating.
I'm not really religious, but when you have 24/7 pain your mind eventually gets possed by the pain and you think about it all the time, so if you can include meditation to help break the pain cycle, why wouldn't you?