Pain, especially chronic pain, can lead to stress which has a litany of effects on your body.
Painkillers are only for treating acute pain.
Chronic pain is fixed by treating underlaying cause (unless you don't have access to health services).
--a random MD