welcome to TIMS eliza, you might be interested in having a read on nutrition for pain and spasm/spasticity. lots of posted info here re magnesium, vitamin d3, including co-factors etc. hth!
READ ME key info on nutrient targets - www.thisisms.com/ftopict-2489.html
my approach: no meds so far - just nutrient-dense anti-inflammatory whole foods, and supplements where needed
info: www.whfoods.com, www.nutritiondata.com