I am 24 and deal with chronic pain every day. I have gone through pain management classes and here's a few things that I learned there...
I know it is hard, but you have to try not to think about your pain. When you constantly think about the area that hurts, it actually affects your brain, and the surrounding nerves, and it will in effect hurt more. Try meditation or deep breathing exercises. Project yourself to somewhere relaxing and think of the things you would hear, see, smell, and even feel there. I use the beach.
There are several different alternative ways to help pain, such as; acupuncture, acupressure, reflexology, yoga, etc. Check around in your area to see what is available to you.
Make sure that you exercise, and if you can't then at least do some stretching excercises every day. A firm muscle that is in shape is going to hurt a lot less than an out of shape muscle. Also you need to get up and move around just to keep your circulation healthy. Even just to walk around sometimes helps.
Maybe you should attend pain management classes, or support group meetings. It is always nice to know that you are not alone, and there are a lot of people out there who can not only relate, but also want to help.
I hope some of this helps!!!! Good luck with your surgery, I hope everything goes well for you!