What kind of doctor does your baby need if he is frequently choking on phlegm and unable to get it up to the point of not breathing?

The concern is not what type of doctor but that the infant/child receive medical care IMMEDIATELY! The infant in question should be taken to the nearest emergency medical facility. Such symptoms can be the begining of a serious respiratory illness or one that is already present and can rapidly progress to pneumonia or respiratory distress or failure.