I've had arthritis for 40 years and it used to drive me potty. Then one day, I turned the usual advice back to front. I'm not saying that what works for me would be best for anyone, but I do say it's worth exploring seemingly daft options.
I used to take oodles of painkillers. I also tried again and again to ignore the pain, but to no avail. In the days when I was fit, if the pain was really getting to me, I would go for a run, even in the night, to trigger the brain's natural painkillers. I've tried to do that in other ways, too.
Then one day I tried something different, initially by accident. If a bit of me hurts and I notice it, I've got two overlapping strategies, but both revolve around focussing on whichever bit of me hurts.
The first is that with bits of me that regularly hurt, I've attached a silly memory to each one. Humour helps me.
The second is that if I'm distracted suddenly by pain, I use what I think of as my fire alarm technique. Imagine you're somewhere with fire alarms and they go off. You instinctively react. You look up at the clock. If it's not the usual fire drill time, you take action. If is the usual fire drill time, you carry on with what you're doing. How loud or annoying that alarm seems will depend on your mood not on the actual alarm, unless it changes, when you're back to first reaction.
So if I have pain that's distracting me, I do a quick inventory. What's hurting and why? If there's no new pain, my subconscious heaves a sigh of relief and I can get on with what I'm doing, the pain suddenly being largely unintrusive. If there's a new pain or a different pain, I take action.
I rarely take painkillers.
I'm not saying pain doesn't bother me, just that this system works for me for most sorts of pain I get.
That being said, I've also had surgery on one joint, but it was a bit of a mess and needed the cartilage tidying up.