See a doctor
If you have a cold/flu
, you may be having fevers/chills which can cause back spasms and pain.
However, if you are having pain and fevers originating from the back you may have an infection in the back, the kidneys, or other structure near the back.
It is best to see a doctor soon to make sure that an infection in or around your back is ruled out.