Flexeril (cyclobenzaprine) is a commonly prescribed medication for moderate to severe muscle spasms that works on your central nervous system to relax your muscles. While this is helpful, NSAIDs (like ibuprofen) have been shown to relieve acute symptoms from muscle spasms more effectively.[18] ...