Acute cerebral infarction is a relatively serious disease with a high clinical incidence, disability and mortality rates. However, the severity of a patient’s cerebral infarction depends mainly on the extent of blood supply to the lesioned vessels and the size of the infarct. Clinically, cerebral infarction is divided into cerebral thrombosis, cardiogenic cerebral embolism, and lacunar cerebral infarction, among which the symptoms of cardiogenic cerebral embolism and cerebral thrombosis are more serious. In particular, cardiogenic cerebral embolism is the most common and serious type of cerebral embolism, which may be caused by atrial fibrillation or heart valve disease, leading to brain damage due to dislodgement of blood clots attached to the heart. Patients can rapidly develop neurological deficits in clinical practice and are prone to the combination of peptic stress ulcers during this period, which may lead to severe cerebral edema and cause brain herniation in patients.