Stretch regularly, especially before and after exercising, and before bed.
Wear good, comfortable, supportive shoes.
Don’t overextend yourself. Whether working out or doing household chores, listen to your body and don’t push yourself beyond your capabilities.
Drink plenty of water on a regular basis. During workouts, or on very hot days, switch to a sports drink to replace electrolytes lost through your sweat.
Drink alcohol and coffee in moderation, as they can contribute to dehydration.
Eat foods that are rich in potassium and magnesium, such as whole grains, bananas, dates, raisins, apricots, cabbage, broccoli, citrus fruits, tomatoes, potatoes, corn, and fish.
Eat the recommended daily allowance of dairy products, such as milk and cheese, and talk to your doctor about whether you would benefit from a calcium supplement.
Make sure your bed sheets are loose. Tight-fitting sheets can forces the legs and feet into awkward positions.