Glaze the ham towards the end of baking, about 20 to 30 minutes before the end of baking. This helps the glaze caramelize without burning.