baby snorts

Carolina
Is it normal for a newborn to kinda snort? The doctors said my baby was having trouble breathing and makes this snorting sound. He turns 1 week tomorrowand his   snorting hasn't stopped. He usually snorts when he's cranky. I'm really concerned, has anyone else had this problem with their newborn? And if so when did it go away?