What did you take and how long did you take it? I don’t have the answers, but maybe you killed some of the parasites, but not all of them. Or maybe you killed the adults but not the eggs, or something like that.
Kroeger Herbs Wormwood Combination has good reviews on Amazon. I think the people who got the best results took it for two months. And then repeated that, a month or two later.
Pinworm eggs hatch after 20 weeks. Roundworm (ascaris) eggs hatch after 1 month. So you have to keep dosing through the life cycle of the eggs, to outlast the eggs.