Your tooth has a cavity and may need a root canal treatment.
Next Steps
Consult a dentist asap to do the needful.
Health Tips
Rinse your mouth with water properly and apply clove oil or Colgate pain out there. Keeping a piece of clove there may also give some relief from pain. You can take a tablet of Combiflam or dolo 650 for pain relief.