I normally pull food for 12-24 hours. Then gradually start back with rice, or a low residue food (Iams has a good one)...then back to regular food. But I always give water, so they don't dehydrate.
If it continues for more than 24-48 hours, I would definitely take to vet (especially if the pup isn't staying hydrated).