Those aren't pin worm. Maybe round worms or hook worms. I always get my medications for my frogs from a vet so they are mixed properly, but these can be treated in house.