Adults and foals get dewormed differently. Foals have no immunity to parasites, so need a lot more frequent help to keep numbers very low so they can build immunity without being overwhelmed.
This means monthly deworming, starting at about 8 weeks (that’s how long it takes for any parasites to develop to the stage where dewormers can kill them).
For foals, there are 2 issues. Ascarids have a growing resistance to ivermectin, so to be SURE they are killed, you should use either a double dose of fenbendazole (Panacur, Safeguard), or a double dose of pyrantel pamoate (Strongid paste).
But, strongyles have a HUGE resistance issue with those 2 chemicals, so for them, you need ivermectin. So while the vet’s “double dose panacur” is good, you can’t do that every month, or you’ll be all but guaranteed to end up with a strongyle problem, and you’ll never kill bots or tapeworms. Double pyrantel pamoate (Strongid) will at least kill tapeworms, until he’s old enough to get Equimax, and then Quest Plus later. Technically he’s old enough now for Equimax, but I would probably wait another couple months for that. Get 1 ivermectin into him first.
This translates to a monthly rotation between ivermectin, and a double dose of either of the other 2.
This should continue for at least 2 full years, and then start in with some FECs after skipping one of the dewormings to allow the horse to accumulate whatever his immune system will allow at that time, to see how things are going. Sometimes that monthly deworming, or at least a lot more frequent than just every 6 months, has to continue until they are 3 or so.
Personally, I wouldn’t wean the foal now. I would get him on Progressive’s Foal’s First Starter for the next month (IMHO it’s a better product than Foal-Lac), and then at 4 months make the transition to a good ration balancer of whatever brand you can get easily.