Baby getting constipated

Baby getting constipated from feeding with formula, what to do? Any help? He is 3 weeks old