Baby not pooping..?

Erika

Recently changed baby to only formula and he hasn’t been pooping. We gave him gripe water and he pooped that night but it’s been 3 days since and he hasn’t pooped again? He gets very fussy and cries when trying to poo. We’ve also tried pear juice and have given him suppositories. What to do??