Severe neck and back pain.

My sister in law increased her walking recently and has suddenly developed severe headaches, neck and back pain. Her GP has prescribed codeine and diazepam as well as muscle relaxants. Surely all of these should not be taken together and shouldn't they be investigating the cause of the pain? What could she have done just by walking?