Switching formula

How do I go about switching babies formula from similac to enfamil without upsetting his tummy ? Or is it ok to just switch immediately?