Causes of toothaches
A tooth that has a crack in it may produce pain either in response to biting hard grainy foods, to cold foods or drinks, or spontaneously when the nerve is involved.
Nerve pain or infection
Impacted wisdom teeth can often be associated with pain, especially if it’s difficult to keep clean. Subsequently, the nearby gums are more prone to inflammation and infection.