Here are some things to try: Stretching. Stretching the area that has the muscle spasm can usually help improve or stop the spasm from occurring. ... Massage. ... Ice or heat. ... Hydration. ... Mild exercise. ... Nonprescription remedies. ... Topical creams that are anti-inflammatory and pain relieving. ... Hyperventilation. More items... Jun 27, 2019