How long after taking tramadol can i take methocarbamol

I was thinking of taking the pain pill before a long walk and then the muscle relaxant afterwards. I was thinking about taking the muscle relaxant(methocarbamal) with gabapentin just before bed to help sleep. I was told not to mix the tramadol at the same time with the methocarbamal by my discharge nurse but one night a nurse gave me both at the same time because the pain was keeping me from falling asleep.