Ham should be cooked to 145 degrees F before being eaten to make sure that it has been cooked properly and is safe to consume.