Most neck and back pain can be treated without surgery. Treatment involves using over-the-counter pain relievers to reduce discomfort and anti-inflammatory drugs to reduce inflammation. The goal of treatment is to restore proper function and strength to the back, and prevent recurrence of the injury. Medications are often used to treat acute and chronic low back pain. Effective pain relief may involve a combination of prescription drugs and over-the-counter remedies. Although the use of cold and hot compresses has never been scientifically proven to quickly resolve low back injury, compresses may help reduce pain and inflammation and allow greater mobility for some individuals. Bed rest is recommended for only 1–2 days at most. Individuals should resume activities as soon as possible. Exercise may be the most effective way to speed recovery from low back pain and help strengthen back and abdominal muscles. In the most serious cases, when the condition does not respond to other therapies, surgery may relieve pain caused by back problems or serious musculoskeletal injuries.
Adapted from https://www.ninds.nih.gov/Disorders/All-Disorders/Back-Pain-Information-Page