3 week old baby hasn’t pooped in 24 hrs?

I think my baby may be constipated, he pushes until his face is red and cries but nothing hasn’t came out for about 24 hours now.

How do I help him relieve it?

(He has a doctors appointment tomorrow for his weight check in the afternoon, but I want to see if I can help him now for relief)