Baby won’t stop crying

My two week old baby will only stop crying when he is held upright. As soon as you lay him down he starts screaming. I have burped him and gave him some Infacol to help with gas, but now I don’t know what else to do. Mommy needs sleep really bad 😴 going on 48 hours with only 3 hours of sleep. Please help.

(Going to the doctor tomorrow)