There are a few reasons for a hamster to shake. Unfortunately they are all fairly serious; Diabetes, Heat Stroke, Hibernation and Stroke. Heat Stroke and Hibernation are the easiest and least serious to fix. For heat stroke take him to a cooler spot away from sun and give him water. For hibernation hold him until he gets warmer and revives.