Cluster headache has a characteristic type of pain and pattern of attacks. A diagnosis depends on your description of the attacks, including your pain, the location and severity of your headaches, and associated symptoms. How often your headaches occur and how long they last also are important factors.
https://www.mayoclinic.org/diseases-conditions/cluster-headache/diagnosis-treatment/drc-20352084