If you have to take pain pills to work, you have to stop. The more you work while on them the worse you hurt yourself. Pain pills don't heal anything. You will start need more and more for them to do anything. Find something to do you don't need them for.
Get off that path of taking them so you can work.