3-Month-Old Baby Wont Stop Throwing Up

My 3-month-old son cannot seem to keep a meal down. I have switched his milk three times on a doctors recommendation, but it doesn’t help. What can this be?