If the problem is unexplained vomiting, the most immediate things to check for are infections and dehydration, says the American Kennel Club. Your vet will also likely evaluate your dog's stomach and small intestine and test for diseases like kidney failure, diabetes, liver disease and pancreatitis.