Constipated

Jessica
My son is 5 weeks old. I started giving him formula occasionally cause he didn't seem satisfied with just breastfeeding. I noticed he was getting constipated with the formula so I quit giving it to him but he's still constipated. Is there anything I can give him to help him poo?