We use either vicodin or tramadol for pain, and valium for muscle spasm relief. The combination would need to be decided by your surgeon.
You should be able to take tramadol for pain, but it would be best if you checked with your doctor first as he or she is going to know what other medications you are on as well as your medical history and can be the best, most informed decision with you. I often prescribe Valium as a muscle relaxer as it helps to calm anxiety while also controlling muscle spasms. Again, you should check with your doctor. Best of luck in your recovery!