Put a Muzzle on it.
Have mercy
JK, feel bad for him and you, Maybe to try a different food, or keeping him inside/outside depending on where he is eating stuff that's upsetting his stomach?