Bed rest may help with acute pain, but it can also lead to further bone loss and worsening osteoporosis, which raises your risk for future compression fractures. Doctors may recommend a short period of bed rest for no more than a few days. However, you should avoid prolonged inactivity.