Fussy baby

Nina

Baby is almost 3weeks old. She sounds so congested even though I clear her nose. It sounds like it's in her mouth and throat and occasionally she will have so much mucus or spit in her mouth. She also has been throwing up and spitting up formula recently and is very gassy at night and doesn't sleep at all at night. During the day she is better for some reason. Anyone have any ideas on what's wrong or have any advice? I'm tired and worried. Tomorrow is her doctors appointment .