baby having a hard time pooping :(

Today my baby boy is 2 weeks old. I've noticed that he's been starting to have a hard time pooping. He's been pooping less as well. Yesterday he only pooped once or twice and the diaper I changed only had a small amount of poop. Any suggestions on how I can help him? I hate to see him struggle to poop