How is he behaving now?
It's a judgement call really, if he threw up the worms and is behaving normally otherwise I would just keep a close eye coming days.
If he behaves strange or is less active I'd have a vet check him up.
Throwing up is not normal but so doesn't have to mean he's sick, he...