Bed rest used to be recommended for people when new, unexpected pain set in. More recent research has shown that those who can stay active after an injury will improve quicker. This does not mean fighting through pain — modify how much you do, but try to stay active. Think of it as being “mobile but mindful.”
There are lots of ways to exercise that can help your pain. Research backs up walking, lifting weight, doing core training, stretching, yoga, tai chi etc. Do what feels comfortable and monitor your pain during and after.
Exercising with pain is a lot like showering after a sunburn. You still need to rinse off and get clean, so you adjust the water temperature and find what feels more comfortable. Moving after an injury is the same. It may hurt at first, but you can find something that feels more comfortable. You may slowly increase over time to back where you were before injury.
When it comes to exercise and pain, sedentary people are at a higher risk of developing neck and/or back pain compared to those who are active. Working with a physical therapist can help you find ways to stay active or get active and protect yourself against future episodes of low-back or neck pain.