Pain is a warning sigh. Like the piercing sound from a smoke alarm, the alarm isn't the problem. The alarm has a cause, just like every ache or pain has a cause.
Some people choose to cover up the pain instead of correcting the cause.
The nerve-rich facet joints on the back side of each spinal bone are a common cause of back pain. The disc between spinal bones can be a source of back pain, too. Once you know the cause, you have several choices. One approach is bed rest. Physical therapy is another option.