If this lasts for more than 24 to 48 hours, contact your veterinarian because your puppy could quickly become dehydrated from the loss of fluid due to diarrhea or vomiting.
You may also find parts of the worms or whole worms in puppy poop after a deworming.