Most dogs eat grass without vomiting at all, and those that do, generally vomit a few seconds afterward. However, if other medical concerns are causing the stomach problems, the vomiting may come at any time.