Cyclobenzaprine is a muscle relaxant that, along with rest and physical therapy, can be used to treat muscle spasms caused by musculoskeletal conditions in the short term. A common side effect is sedation.