What can you take fot back pain cause by disc or pinch nerve?

Back pain. A number of over the counter medications can help with mild back pain, including ibuprofen, naproxen, acetaminophen. Other prescriptions, nsaids, help with inflammation and pain. Muscle relaxants, narcotic pain meds can be given for severe pai, short term. Cortisone oral or injectable medication reduce swelling and pain. Meds for chronic nerve pain, gabapentin, can reduce pain.
Back pain relief. The goal is to relieve the pressure on the nerve a diminish the local inflammation. Resting in a position to relieve strain in that area is useful. Icing can be a great relief and the use of nsaids is frequently helpful. Massage is a good reliever but if the condition persists week after week or is worsening, then you need to be evaluated by your orthopod.