Thanks for your reply.
Basically you are suffering from Rhinosinusitis
It is basically inflammation of the sinuses and results in production of infected secretions in the sinuses. This infected secretions when trickle down in the throat causes that intractable cough due to throat irritation. The stressful cough can cause temple pain similarly like it causes pain in our chest sometime
This is a simple thing and you donot need to get worried for it.
It needs the following treatment
Tab Telfast (fexofenadine) once daily.
Steam inhalation with menthol twice daily.
Xylometazoline nasal spray 2 puffs thrice daily for seven days maximum.
Tab Ibuprofen three times a day for five days
Antibiotics like amoxiclav are required so you need to visit doctor for this. other medicines are available OTC so you can start them
Donot worry when the cough is treated temple pain will subside as cough is the triggering factor.
Regards XXXXX XXXXX of prayers for you.
Click Accept if you are satisfied.