A heating apparatus for heating and sterilizing or disinfecting a material used in dental treatment, the heating apparatus comprising:a heating compartment with a heating element for heating all or part of the material within the heating compartmentat least one holder for receiving and holding at least a part of the material used in dental treatment inside the heating compartment andan disinfection device having a light source for sterilizing all or part of the material within the heating compartment.