The vomiting or diarrhoea is a way of discharging this waste/toxins from the body.
The key to this problem is addressing the cause which is usually diet. Excess protein, fat, salt and sugar. Along with poor quality ingredients like corn meal or Soya as a protein source.
Chemicals also have a role to play – they should be avoided at all times.
Often the dog (or cat) habitually vomits in the mornings.
Feeding smaller more frequent meals may help the problem.