The cramps are very painful and involuntary contraction of a muscle. May occur to the feet, calves, thighs. May occur in those who do sports, pregnant or night, usually if one assumes the same posture for a long time.
You have to remember that the cramping is responsible for the fatigue associated with dehydration. It is very important both before and during physical exertion is keep yourself hydrated. In the market there are a number of very valid based drinks minerals associated with vitamins, which must be taken both by those who often do sports, both by those who sweat a lot and need to rehydrate.
Do not eat before workout and if you do try to keep light, in order to reduce the risks. Eat lots of fruits, especially bananas which are rich in potassium. Use suitable clothing, they leave the skin breathe. Make heating and practice often stretching. All this prevents any cramp.
In case you get hit by cramp, first thing to do is stretch the affected muscle elongation immediately counteracts the involuntary contraction. Subsequently massagia vigorously sore muscle, massage promotes blood circulation. Alternatively you can dip the part in hot water.