@dawg53 has a lot of information here on worming, and I don’t think that chicks need to be wormed for the first month or two. He may chime in. How old are these chicks? Most likely, the worms are from the hens. You could worm the hens with Valbazen 0.5 ml (1/2 ml) orally for a 4-6 pound hen, and then repeat that in 10 days. That treats most worms except tapeworms. Some use SafeGuard Liquid Goat Wormer or horse paste 0.25 ml (1/4 ml) per pound given orally once and in 10 days for only roundworms. Give it for 5 consecutive days for most types of chicken worms except tapeworms. Most feed stores carry SafeGuard, while Valbazen might be easier to find online here:
https://www.jefferspet.com/valbazen-oral-suspension-500ml-w-cap/p
Shake well before drawing up into a syringe to give orally.