hi,thanks for query.When ever there is fever
,due to fever there is loss of water from the body which can lead to dehydration
and muscle cramps
like your child is having.Give him medication for fever and plenty of liquids like soups,fruit juices,lemon water etc.Give him light diet along with this.As you have not given other details it is difficult to comment on type of fever
wishing him good health.