There are several possible causes of this type of pain: decay, a loose filling, or a crack in the tooth. There may be damage to the pulp tissue inside the tooth.
What To Do
See a dentist for evaluation. If the problem is a cracked tooth, your dentist may send you to an endodontist. Cracked tooth pain comes from damage to the inner soft tissue of the tooth, the pulp. Endodontists are dentists who specialize in pulp-related procedures. Endodontic treatment, also known as root canal treatment, can relieve that pain.