In order to prevent the affection of leg cramps, it is worthy to note the following:
1. Always put on suitable footwear, most especially if you have flat feet and other foot problems.
2. Keeping bedding loose to help prevent the feet and toes from pointing downward during sleep.
3. Try and support your toes when lying down or asleep by propping up the feet with a pillow or letting the feet hang over the edge of the bed.
You can also engage in regularly stretching the muscles in your lower legs which may help prevent the cramps or reduce their frequency. Also, always do exercise that are timely in order to get fit.