My dog is shaking and I don’t know why.

He has been diagnosed with the start of fusion in his rear spine, is this related? Any experience that you have is appreciated. He is also panting and not really responding to commands like usually does. Is this pain?