For how long are you feeling this pain in your temporal region you have not mentioned.
If you have sensation on having cold and hot food or fluids that indicates that your cavity in the tooth involves or is approaching pulp which has the nerve endings of your tooth.
Next Steps
1.You need to get an x-ray done of the involving tooth and then go to a dentist to get it treated.
2.For the pain in your temporal region you can have a Tab Paracetamol 650mg tablet on S.O.S that is when pain occurs and then go to a doctor if pain persists.
3.For the sensitivity you can go for Toothpaste RA Thermoseal twice a day when you brush your teeth. ( Apply the paste on the involved tooth for a minute or two and then brush)
Health Tips
Avoid too cold and too hot food or fluids till u get your tooth checked.