Patients with cerebral infarction have headache, first of all, we should clarify the cause of the disease, targeted treatment, generally take medication and surgical treatment, specific as follows: 1. Drug therapy: the common cause of headache in patients with cerebral infarction is increased intracranial pressure, commonly used drugs are mannitol, glycerol fructose, furosemide, etc., and at the same time, it is also necessary to actively deal with the primary pathology, such as thrombolysis, anticoagulation, lipid regulation, cerebral protection and other treatments. In addition, diclofenac and celecoxib can be used to relieve headache. 2. Surgical treatment: For patients with large cerebral infarction, if there are indications for surgery, further surgical treatment is needed, such as debridement decompression surgery. Patients with cerebral infarction should pay attention to low-salt and low-fat diet, consume more high-fiber and high-vitamin C foods, quit smoking and drinking, exercise moderately, and control blood pressure, blood sugar and blood lipid level. Cerebral infarction patients with headache, it is recommended to go to the hospital in a timely manner to clarify the diagnosis and standardize the treatment to avoid delaying the condition.