Yes, unless walking worsens the symptoms. Physicians usually recommend patients to stay mobilized. Often, the pain also causes muscle spasms in the back. Walking sometimes worsens these muscle spasms and, consequently, the back pain. Thus, the affected individual is discouraged from walking. To relieve the muscle spasms in the back, muscle relaxants are usually prescribed.