I'm not sure there is much you can do for now. If they gave you medication for pain, then by all means take them. Until your surgery, you'll just have to put up with the pain...sorry.
If the pain is something new, then see your doctor right away, and hopefully then can push the surgery date up.