Baby pooping

My baby ain’t even 2 weeks old and I think he has trouble pooping all the time and when he dose poop it’s very little what do y’all recommend going to make him a dr appointment to see what the dr thinks but I’d love y’all advice on what y’all do

I have trouble getting my baby to latch so I pump as much as I can threw out the day and feed it to him sometimes I give him formula he’s very gassy farts a lot but strains all the time like he’s trying to poop his belly gets hard and he strains