The treatment of roundworms is mainly based on deworming medication, but some people need to be treated surgically. Roundworms are mainly parasitic in the human intestinal system and will absorb glucose through the intestinal wall. The long-term presence of roundworms in the intestine will not only affect intestinal health, but also lead to malnutrition in humans. Roundworms are mainly treated with anthelmintic drugs. Common anthelmintic drugs include mebendazole, albendazole and praziquantel, which have a broad-spectrum anthelmintic effect and their main function is to inhibit the absorption of glucose by the parasite, so as to kill the parasite. However, roundworms are active in the intestinal system, and some of them even enter the common bile duct causing bile duct blockage. Once this situation occurs, surgical treatment should be considered, which mainly involves removing the worms from the common bile duct to restore the patency of the bile duct and avoid affecting the flow of bile.