Need help with baby milk

Santana🌺

My baby is 3 weeks old and I had him on Enfamil Gentlease and my baby likes the milk the only problem was he wasn’t pooping like he should and he was starting to become Constipated but he still was using it so I changed his milk to Enfamil Reguline which is for the baby stomach and it supposed to help the baby have a softer stool but now he’s spitting up the milk I know I have to give it time to see if it’ll work for him. I’m thinking I should of left him on the first milk cause he was using it and he stomach was hurting a little.