hello and welcome to HCM forum,
I would like to inform you that tooth pain that radiated to the ear and to the head is most probably from the decayed tooth, which is either the second molar or from the premolar.
In order to confirm the tooth, we need to check thoroughly, therefore i would suggest you to visit your
dentist.
I would advise you not to overdose yourself with the painkillers,
I cannot provide you with the clear picture of the treatment here as i need to check the tooth clinically,
We need to take an x-ray of the tooth to get a clear picture of the condition,
In your case as the pain is intermittent and there is no swelling, most probably
root canal treatment might be the choice of treatment rather than extraction.
i hope i answered your query,
i wish you good health,
take care.