This medication is used to prevent cavities and to reduce pain from sensitive teeth (dentinal hypersensitivity).Sodium fluoride works by making the teeth stronger and more resistant to decay caused by acid and bacteria. Potassium nitrate works by calming the nerves in the teeth.