Drugs for treating gastrointestinal spasms include antispasmodics such as scopolamine, gastrointestinal stimulants such as domperidone, and laxatives such as lactulose. 1. Antispasmodics: such as atropine, scopolamine, scopolamine, scopolamine butylbromide, belladonna, pivotalinium bromide, ortizinium bromide, etc., which can release the spasm of gastrointestinal smooth muscle and relieve the symptoms of gastric and abdominal pain caused by gastrointestinal spasm. 2. Gastrointestinal stimulants: such as metoclopramide, domperidone, mosapride, cisapride, itopride, prucalopride, ondansetron, granisetron, etc., which can promote gastrointestinal peristalsis and increase gastrointestinal dynamics, thus relieving symptoms such as bloating, belching (hiccups) and loss of appetite caused by gastrointestinal spasm. 3. Laxatives: gastrointestinal spasm can cause bloating, constipation and other symptoms, you can choose lactulose, polyethylene glycol, glycerol and other drugs to relieve nausea, vomiting, constipation and other symptoms of gastrointestinal obstruction. It should be noted that all of the above medications should be taken under the guidance of a doctor and should not be used without authorization. Patients with gastrointestinal cramps are advised to seek timely medical attention for a clear diagnosis and targeted treatment under the guidance of a doctor.