What kind of worms? Where are they burrowing into the plant? Generally you have to locate them and pull them out, they burrow into the buds and lay eggs and can burrow into the stem and kill the plant depending on the worm.