I suffer from migraines and back in the '70's I was taught a technique to help me cope until the pain medication could take effect. I had to visualize the pain as an object that could be manipulated. For me it was a dragon sitting on my head. each of his talons was pressing on a point on my head and face. Then, I slowly concentrated on getting him to release each talon one at a time. Usually by the time I had finished doing that, the pain meds had started to take effect. I still use this technique whenever I get a migraine and it still works for me all these years later. I have only used it for migraines so I don't know how it would work for other types of pain.
(P.S. the Ministry of Defence still has not answered my enquiry......makes me wonder if all those spy-stories are a figment of the imagination...?)