Poop and gas troubles

Brianna

My LO is 1 month old and is only fed breast milk. The first two weeks he pooped fine since it was super runny but now he has troubles pooping laying down and his poop looks like cheese curds but it still has that normal yellow breast milk fed color and he is super gassy. Any suggestions on how to relieve this.

P.s. he also poops and and farts really good when breastfeeding and he does better at pooping when propped up