When a tooth has cavity, a toothpaste will never work in reducing sensitivity in that particular teeth. Sensitivity toothpastes are meant to be used in intact teeth and weak gums where roots of teeth are responding to cold. When there is a cavity, unfortunately no toothpaste will work.
Next Steps
Visit your nearest dentist to evaluate broken or cavity in the teeth and he shall help you fix it.
Health Tips
An xrax or Opg shall be helpful in diagnosis.