Dogs can eat Tums, but in moderation and after all other solutions are exhausted (waiting patiently, pureed pumpkin, etc.).
Dogs have short digestive systems, so their problems work out faster than human problems normally would.
While Tums are not toxic to your dog, there are better solutions to help your dog if they’re suffering from gastric upset.
Try pureed pumpkin before you try Tums.