There are just too many reasons for a puppy to throw up to answer that question. Your best bet is to contact your veterinarian, and discuss everything with them.
Come join a community dedicated to the discussion of grooming, food reviews, training tips, rescue groups, and dog pictures. All dog breeds and dog breeders welcome