changing formulas too often

does changing formulas often affect babys stomach? i read a comment saying you should ease them into the formulas instead of just straight up changing the formula from one feeding to the other