Might be due to decayed teeth and now it has involved pulp, so you are experiencing pain. Most probably tooth will go for root canal treatment which will be confirmed after taking radiograph.
Next Steps
visit endodontist
Health Tips
tab Ketorol Dt- sos (when pain is unbearable)
medication is only the temporary solution, so visit dentist and get the treatment done