If you already wormed them with the correct dosage, it wouldn't hurt them. If you asking if you should use it on them, I personally wouldn't worm a sick chicken unless you know it has worms. It is hard on them.
Check thier crop and see if it is impacetd. Spitting up can be a sign of that. There is a bunch of info on BYC regarding an impacted crop.
Good luck.