I am sorry to hear your boy is having trouble.
I would love to help I just need some additional information.
How long has this been going on?
When he vomitis is it undigested food?
Does he eat things he should not such as toys, clothes, sticks etc?
Does he get chewies such as rawhides or greenies
Failure to poop and vomiting undigested food can be a sign of intestinal obstruction caused by some thing he has eaten. A gastrointestinal blockage is very serious and left untreated can be fatal.
Read more here.
Intestinal worm or parasites as well as food intolerance can cause the loose stool.
Severe constipation can also cause vomiting.
At this point my biggest concern since he does chew on things and gets raw hides would be that he has eaten something that will not pass through his system.
Puppies are not as resilient as older dogs and can become critical rather quickly.
I would recommend having your baby seen today at the local animal emergency to rule out and sort of blockage.
Should this be a blockage time is of the essence and the sooner he is seen the better his chance of recovery.
Please let me know how he is going and if I can be of further assistance.