Welcome to the forum Sam,
Being in constant pain is a real drag, I definitely know how much pain can hinder how you feel and how difficult it can be to get through a normal day.
For myself, I make myself be around others, but I also allow myself to be on my own as well. I do make myself be around people, because even though I may be putting on a brave face, I do always feel better for the distraction and company, it's kinda like pretend till it is real.
Pain is a very personal thing, only you feel it, and to others they can't see it.
I would very much bet that when you are around the good people in your life, inspite of the pain, you have a good time, it is for this very reason that I would encourage you to continue with socializing.