Painkillers can help, but once your issue is properly diagnosed you should work on the underlying injury. Aim for a drug-free pain relief solution long-term, so engage with your doctor on your rehab program. It can include:
Heat Therapy
Massage
Movement
Stretch Exercises
Strength Exercises
Cold Therapy
Injury Bracing / Support