how long does it take worms to go away?
The worms will die after 6 weeks so provided you do not swallow any new eggs then no new worms will grow to replace them. Strict attention to hygiene should be sufficient.