What is the best pain medication? For shoulder pain?

Depends. It depends on the cause/duration/severity. If it is a recent injury, a short course of anti inflammatory medication may be helpful in reducing the pain and inflammation. Non medication options may be just as helpful, i.e. Ice, physical therapy, rest. Other options may include an injection(depending on cause). If pain persists discuss with your md for a diagnosis and an appropriate treatment plan.