Throwing up

My baby has been projectile vomiting all his milk since this morning. He eats and throws up. I don’t know what to do besides offer him Pedialyte. Any advice?