No, you don't need to wash ham before cooking. It is important to keep raw meat away from other food items in order to prevent cross contamination but it is not necessary to wash it.  Additionally, washing a ham can make the meat tough as the water washes away some of the natural fats and moisture present in the meat.