Muscle relaxants are used to treat muscle spasms, spasticity, and musculoskeletal pain. Muscle relaxants come in different forms, including oral tablets and injectable solutions. Examples include cyclobenzaprine (Amrix), methocarbamol (Robaxin), and carisoprodol (Soma). You can choose the form that best fits your needs.