Round worms can successfully be treated by mebendazole or pyrantel pamoate...It used to be sold in the drug store but your doctor will prescribe it.Here is a link with details www.comeunity ./adoption/health/parasites/ascaris.NIH.html
Here is from another website. See a doctor for diagnosis. Coughing won't cure it. The bowels can become very obstructed. There are medications to take, again, see the doctor.
_____________
Early infection (larval migration)
o Inhaled beta-agonists may be indicated.
o Steroids for pulmonary symptoms are controversial.
o Whether anthelmintic therapy is effective against larval stages is unclear. (Stool ova microscopy will likely be negative at this phase). Because infection in the early phase is rarely serious, generally treatment is delayed until definitive diagnosis can be made.
Established infection
o Benzimidazoles are the mainstay of treatment of symptomatic and asymptomatic infections. They are poorly systemically absorbed and thus have low human toxicity and exert their action directly on worms. The most common members of this family are albendazole and mebendazole.
o Treatment of bowel obstruction includes intravenous hydration, nasogastric suctioning, electrolyte monitoring, and laparotomy if conservative measures fail. Colonoscopy and esophagogastroduodenoscopy (EGD) may be useful in removing obstructing masses of worms.
o Piperazine citrate, a helminth paralytic, has been suggested in cases of obstruction; it is no longer commercially available in the United States.
o Hepatobiliary ascariasis typically responds to similarly conservative therapy, but it may require invasive intervention (eg, ERCP) should this fail, or if there are coexisting stones or strictures. It may also be indicated in cases of pyogenic cholangitis and acute pancreatitis.