Hi and welcome to HCM.
It can be kind of complicated migraine.Do you have any tingling sensation
, is it irriatted by light or noise and do you have associated nausea? If yes then it might be migraine attack. There are sepcific pain killer for it and resting in dark room as the only way of treatment,it should pass ina 4-7 days.
Other possible causes are trigeminal or facial nerve neuralgia
or temproal arteritis
.These are not easily diagnosed diseases,but your symptoms lead us to it. YOu should visit neurologist
, there are some medicines which might help and lab tests which should be done.Till that you should avoid wind,cold wheather, noise and smoking.
Wish you good health.