Isn’t pooping enough

Sasha

My 5monther only poops about 1 time a week. He doesn’t seem to be in any pain. But at night he gets ballistic and starts crying through the night. Around the same time he started to eczema patches on his skin. Do you think it is related?