Baby cry when he poops

Kholoud

My 6 weeks old baby cries when he poops and sometimes pushing hard and his face turns red. Is that ok?!