If your spasms do begin after an injury or an activity that stressed the muscles, try alternating ice and heat on your back. Ice will help reduce inflammation and heat may help improve blood flow.
Medications like nonsteroidal anti-inflammatory drugs (NSAIDs) and muscle relaxants may help relieve symptoms while the muscles heal. Injections of an anti-inflammatory medication (cortisone) may also help. But there are potential side effects with every medication. Ask your doctor about the risks and benefits of these injections.
hiropractic care may help, but be sure to see a doctor to have your condition properly diagnosed first. Physical therapy to help strengthen your back and abdominal muscles is often recommended, as long as the muscles are healthy enough for exercise.