Please note: Information in this post is not meant as a substitute for veterinary care. Always consult your veterinarian in an emergency.
Call your vet immediately if your dog is showing signs of serious illness like vomiting, lethargy, or weakness. Or if it persists for more than 12-24 hours.
Diarrhea can be caused by stress, changes in the diet, or some underlying medical problems. Make sure your dog keeps drinking water and feed him a bland diet of white rice and plain chicken.
Vomiting and diarrhea are associated with a host of problems that are referred to collectively as gastroenteritis. Some cases are quite severe (e.g., poisoning), and some are not (e.g., dietary indiscretion). If fever is present, an infection may be a cause. Most infections that cause diarrhea and vomiting are contagious, so it is wise to assume that other pets might be vulnerable if they are exposed. If your pet is not feeling well and has vomiting and/or diarrhea, he should see a veterinarian.