Help!

Im recently giving my baby enfamil gentlease at first he was doing great stools but now he's been constipated and his stools have become hard! Ive tryed emfamil infant but he has to many colics and seems too be in much pain.