How can I keep from getting cramps in my legs?

Stretch & quinine. Nocturnal leg cramps can occur for unknown reasons. Are you getting them at night? You should stretch before bed time and when you get them. The best therapy for them are quinine pills, but the fda removed them from the market - for reasons that are not completely clear. Taken at bedtime they are very effective in preventing noctunal leg cramps. Try drinking quinine water at bedtime.