Depending on how bad the sensitivity is, your dentist can suggest several ways to treat the problem.
Brushing regularly with a special desensitizing toothpaste. This can help seal the tubes of the dentin and act as a protective cover.
Using a fluoride rinse or gel may help to harden the enamel, protecting the teeth. Depending on their strength, these rinses or gels are available with or without a prescription. Talk to your dentist about whether this option is right for you — and how often you should use it.
There’s also a fluoride varnish your dentist can apply to your teeth. It’s a thick paste with a high concentration of fluoride that’s applied to sensitive teeth every two or three months.
Bonding is a more permanent fix where a layer of tooth-coloured composite resin is applied to exposed, sensitive roots. This can provide long-lasting protection from tooth sensitivity.
If tooth sensitivity is a direct result of teeth grinding, your dentist can fit you with a customized mouth guard to wear while you’re sleeping and protect your teeth from more damage.
Information as per the Ontario Dental Association https://www.oda.ca/oral-health-basics/oral-conditions-diseases/tooth-sensitivity/