1) Objectives: This research will be accomplished with the purpose of the effect of Adding Intravenous Midazolam to Apotel® in Treatment of Patients with Primary Headache Referred to Emergency Department 2) Design: 120 patients with primary headache will be divided two groups [Apotel plus Midazolam (group 1), Apotel (group 2)] with use Random Allocation Software. 3) Setting and conduct: After obtain the informed consent, severity of patient’s headache, will be registered with using NAS. Then patient will be treated based on group number (1 or 2). 4) Participants including major eligibility criteria: inclusion criteria: All 18-65 years old patients with primary headache (Migraine or tension). Exclusion criteria: Sensitivity to used medicine, secondary type headache, vomiting, pregnancy, loss of consciousness, hepatic failure, breast-feeding, renal failure, psychotic disorder, get a medicine before arriving to emergency ward, dissatisfaction to participate to study. 5) Intervention: Type of treatment used in two groups are different. In group one Apotel plus Midazolam, and in group two Apotel will be used. 6) Main outcome measures variables: Duration of pain relief will be compared in two groups.