Hi,
You need to checked by oral and maxillofacial surgeon who will advice to what type of xray has to taken to further investigate.
As pain in this region can be due to various reasons like unerupted 3rd molar, infected molar to TMJ reasons.
If you have had cold/flu recently, you can consult ENT.
But usually infections from teeth go to ear and vise versa.
Next Steps
visit oral and maxillofacial surgeon
Health Tips
do not delay