Feed medicated with Amprolium is a great thing for chickens. It is not an antibiotic, it's similar in structure to vitamin B1 and keeps the cocci parasite from overwhelming a chicks sytem and killing or seriously injuring them. Even healthy chicks are suceptible to coccidiosis infection. It's found in the soil and all chicks will be exposed to it.
Can't I just treat coccidiosis after they get it?
Not a great idea, once the chicks get coccidiosis the damage is irreversible. It can cause death in only about 96 hours, and it may have no symptoms.
It is only when a bird is infected with a relatively small quantity of oocysts, that the bird then has an opportunity to fight off the infection and build immunity to future infection.
That's what Amprolium allows the chicks to do. It mimics thiamine which is the food source for the Cocci parasite, but unlike thiamine can't be used by the cocci so it lets the chick become exposed and develop immunity without being over exposed.
They can be kept on medicated feed until you switch to grower at around 8 weeks, or left on it until you switch to layer. As mentioned it's not an antibiotic and there is no withdraw time. Layers can have feed medicated with amprolium with no adverse effects.