You should pay special attention to the amount of juice. At the same time, let the baby drink plenty of water, because too much organic acid is no less harmful to the stomach than the alkali damage caused by pepper. The baby's own vomiting behavior is also a normal phenomenon of self-protection. He vomited to eliminate alkaloids in pepper.
In addition, one to two years old is the time when children are most prone to accidents, so you should be careful of all kinds of other situations that happen to them.
I wish the baby a healthy growth at an early date.