Pain is one of the things most of us try to avoid or eliminate. There are many ways we can ease pain signals, drugs, meditation, distraction, etc., but none of these is 100% effective 100% of the time. In my experience, for some of the pains I have had, the amount of drug needed to make my pain tolerable usually would make it impossible to function mentally, while other pains were ignorable without medication of any kind.
If pain interferes with your sleep, by all means take what ever
medication you need. But if you can get to sleep without taking pain
medication, do not use it when you are awake. Anti inflammatory
medication, or medications recommended by your doctor for treatment of
your specific ailment are not to be avoided. I do not shun all drugs,
but I do read enough about them to understand what they do, how they do
it, and what to watch out for when taking them. I do not generally
take medication just for handling pain. The only recreational drug I take is caffeine, which is found in my favorite drinks (the ones without it don't seem to be as enjoyable).
Pain signals often are telling us that part of your body is not functioning well and you need to stop doing something, or do something else to correct the problem. When I broke fingers playing volleyball, I often taped them to the good finger next to them and finished the game, as I had enough adrenaline flowing through my body to suppress the pain to the point where I could still function. It was only after the game that I would seek treatment, but I also never felt much pain from those breaks. I suspect that was because I had trained myself such that as long as I was actively taking steps to heal the problem I could turn off the pain receptors in my brain. It is not an easy thing to do and it doesn't work 100% of the time, but being drug free and in control makes it worth the effort.
Pain from Kidney Stones takes a lot more effort to control. Taking drugs may work for others, but once again, my own method is different. I start drinking water, about 1.5 liters an hour and I spend as much time as I can doing puzzles, reading books, or playing games on my computer to distract my mind from the passing of time and the stone. I found out long ago that washing the stone out of your system requires large quantities of water (in part to assist in dissolving the stone) to flush the remnants out of the body).
The pain that one experiences after surgery, is one I found requires drugs, for a short duration. Proper preparation before surgery can make the difference in how you handle your recovery. The fitter you can be prior to surgery, the better. Drugs are okay to use during the time you are confined to bed, but it is essential that you are able to monitor your pain signals in order to assist your therapists, any sharp pain signals stop the activity, whereas, an increase in the overall ache generally is expected and should not be used to halt activity. I found rather fast that relying on pain killers can result in over doing an activity and lead to far longer times in the hands of therapists (sadists) than one would desire (although I have had some therapists I liked). A clear mind is far more important in monitoring pain and is actually preferable to me than being pain free.
My knees have little to no cartilage left in them. I have received Synvisc injections, which have been beneficial for periods of as short as 3 weeks and as long as 3 months. The recommended interval between injections is 6 months, so I end up in pain for long periods of time in between the injections. I have found that alternating between Ibuprofen, nsaids, aspirin and acetaminophen work for a bit, (one week on each), but never come close to making the pain bearable. On days I have photo shoots, I have been known to mix nsaids and ibuprofen to relieve the stress my knees are going to be put through. I refuse to stop my activities, although I have been slowed down considerably, as doing so would cause a more sinister pain, depression. I have to wait until December before my next Synvisc injection, and I do not find the wait enjoyable.