Formula

Looking at switching my daughters formula seems to be upsetting her stomache. How do I transition her over to another brand? Do I just switch or do it slowly? Dont want her to end up constipated or more of an upset stomache. Thanks!