Consult a dentist as soon as possible
Next Steps
don't bite anything very hard till u visit the dentist
Health Tips
have a detailed discussion with your dentist and check with an x ray,, whether tooth is infected, or due to any trauma (tooth might have fractured) u might have pain as well.
so give the history how the pain started and undergo treatment as suggested by ur dentist