How do you know there were worms in that food. Anyways if you are confident then simply go through a deworming course.
Nothing much to worry about.
Next Steps
1. Deworming
2. Antibiotics if you are facing stomach upset
Health Tips
drink lots of water & fluids