2 week old keeps gasping for air and throwing up snot

bl

My 2 week old keeps waking up and throwing up what looks like snot but it's coming out of his mouth and nose. He can't breathe when it happens. I called the doctor to make a appointment and the nurse got on the phone and told me he's just colic but this isn't that. He don't have a fever. I keep using the suction thing to clean him out when it happens. After I clean him out he eats a little then falls back to sleep.