Garlic is not a wormer if you have infestations. It will not cause the adults to release, it will not kill larva. It's supposed to be helpful in keeping parasites more in control. But do not expect it to worm your birds, please.
The wormer you likely bought was Wazine. that's a legal statement. You can worm your birds with this, just don't eat the birds or their eggs for 14 days. You can feed those eggs back to the chickens.
Wazine requires repeats over and over as larva become adults and Wazine doesn't paralyze the larva. So buy a stronger wormer as a back up. DO worm with wazine first, then follow up with fenbendazole (Safeguard), Abendazole (Valbazan), Levamisole, or ivermectin (pour on, or paste, or injectable used orally with an additive to make it slow down in the gut).
Then just use the stronger wormer only twice a year. Use more natural things like garlic, cayenne, DE (Food grade only), VermX in between wormings in hopes of keeping the worm numbers down.