There are many illnesses that can cause vomiting and diarrhoea in dogs but like babies, puppies can go down hill very quickly. Best to contact a vet and get him checked out to be sure and prevent dehydration etc. If it is something as serious as parvo then the sooner he is checked the better as it is very nasty. Hope he gets better quickly!!!