There are a lot of different painkillers and there are different kinds of pain. In most of the case, painkillers will not improve your condition, as they are temporary relief.
The only exception is when your pain is induced by inflammation and the doctor is giving you NSAIDs. It will be a different story.