Pickle juice or dill relish is a quick relief from leg spasms, aka charlie horses.
To prevent muscle cramps, eat things with potassium, such as bananas.
Take two teaspoons of honey with each meal on a regular basis as a preventative measure.
Suck on a little rock salt for relief.
Massage the sore muscle with some camphor water in coconut oil for instant relief.