Straighten the leg out completely and draw up his toes. You may have to do it for him in case he can't do it himself. Keep them like this until the cramp relaxes and it should be alright. Make sure he is getting enough sodium and enough potassium in his diet.