Before applying a whitening gel to a patient, the dentist will apply a protective gel or guard to the gums to prevent them from becoming discolored. The dentist will then apply the bleaching agent. Once the bleaching agent is applied, the dentist may use heat or light to speed up the whitening process.