If you can't control the physical then try the more emotional side of it, mind over matter to an extent if you can manage it, knowing when to try and battle on and when you just have to give in and rest, keep still etc...
Depending on the injury then any emotional aspect relating to the circumstances may be something that needs help dealing with.
Pain is a pretty wide area though, narrowing it down may help find ways to help.