Puking baby

As

My son is almost 3 weeks old and has been throwing up almost every time I feed him wether it be breast fed or by bottle. We have been burping him after every feeding and proving him up after he eats. Is there any way to get him to stop throwing up?