I recommend wrapping the gammon in aluminium foil to allow it to heat up more evenly. This also prevents the surface of the gammon from burning before it's cooked through.