HELP ME!!!

Eli

I have a newborn that is a week old today. It is almost impossible to burp him and he has tummy aches that keep him up all night. He is also having troubles pooping. We have tried different burping positions, burping before, half-way through, and after feedings. We give him tummy rubs, do bicycles with his legs, and we've even taken a rectal temperature (I heard it helps with constipation) Is there anything else I can do?? He has a doctors appointment tomorrow