Many pain clinics offer meditation, CBT, or other psychological approaches to help with dealing with pain. These things really do help you change your relationship with how you perceive pain; they both make the pain you're in more bearable and reduce the actual amount of pain you feel. However, most people I know with chronic pain, myself included, find the way it's taught and talked about to be blaming and triggery. I've found one or two practitioners who live with chronic pain themselves and are delightful to listen to; but the majority I've met don't know the landmines they're stepping on when it comes to talking to people who have often been blamed for their own pain. So it might be worth either getting a psych you know and trust right now to walk you through those techniques, investigating them yourself in a format you can handle (audiobook, podcast, actual book, whatever) or very cautiously attending one-to-one therapy or group information sessions.
For example, the "body scan" is a common mindfulness body technique. I hate most of them, because they believe that a person can easily become aware of their body and then feel relaxation and wellbeing. To which I say HAHAHA LOL NO. However, the body scan in the CD that accompanies The Mindful Way Through Depression is very open to different bodies--it explicitly addresses people who can feel positive things, who feel overwhelming pain, or who have no sensation in some areas (or don't have that area to feel sensation in, like amputees). So it felt much more useful and like I didn't have to grit my teeth through it.
no subject
For example, the "body scan" is a common mindfulness body technique. I hate most of them, because they believe that a person can easily become aware of their body and then feel relaxation and wellbeing. To which I say HAHAHA LOL NO. However, the body scan in the CD that accompanies The Mindful Way Through Depression is very open to different bodies--it explicitly addresses people who can feel positive things, who feel overwhelming pain, or who have no sensation in some areas (or don't have that area to feel sensation in, like amputees). So it felt much more useful and like I didn't have to grit my teeth through it.