I'm just wondering if my pup is getting better or if I should take him to the vet. On Monday he started throwing up and looked weak

. I bought him some Pedriatic Electrolyte so that he wouldn't dehydrate.
The next day he got better, and just threw up some yellow liquid through out the day. I wanted to take him to the vet but other people advised me, that since he was getting better, just to give it another day.
On Wednesday he looked all better. He was running around and being his rascal self, but he did throw up a tiny little bit of yellow liquid once.
On Thursday, friday, and today the same thing happened. He looks like nothing is wrong with him. He is running around and being himself

. He is almost normal exept he has puked a tiny little bit of liquid, once each day, for three days.
Should I be worried and take him to the vet or will he get better

?