just wondering at what ages did you first worm your kids

it came up when my husband suggested that Ryan's sleeping patterns resembled some one having worms so we went off to see the chemist to ask and they agreed and babies from as young as 6 months can be wormed so the whole family including the animals coped a dose Yukkkkkk and yesterday and today ryan has eaten so much better and also has settled himself to go to sleep so maybe there this was his problem any thoughts ?