Preventing Foot Cramps-Topic Overview - WebMD Tips to prevent foot cramps include the following: Take a warm bath and do some stretching exercises before you go to bed if cramps wake you at night.