If there are roundworms in the stomach, usually the digestive tract is infected with roundworms. Because deworming medicine has side effects, it is necessary to strictly grasp the indications and dosage under the guidance of doctors. To relieve abdominal pain, magnesium sulfate, atropine, scopolamine, etc. are available. If roundworms have caused damage to the mucosa of the digestive tract, with the manifestation of bloody stools, some mucosal protectants and acid-suppressing drugs can be taken. In addition, if medication is ineffective and the patient has severe abdominal pain or signs of intestinal obstruction, surgical treatment should be performed. Ascariasis mostly occurs in children under 10 years old, and daily attention should be paid to hygiene habits to avoid re-infection. The main way of roundworm infection is that the patient is infected by inhaling soil and dust contaminated with roundworm eggs, or eating fruits and vegetables contaminated with eggs. In daily life, we should pay attention to washing hands before and after meals, washing fruits and vegetables before use, and trying to eliminate flies and cockroaches to prevent them from spreading eggs and contaminating food and water. If you suspect that there are roundworms in your intestines, you can do a stool test, in which you can confirm the diagnosis if you find roundworm eggs.