Suctioning the baby's upper airways, including the nose, mouth and throat. Giving the baby supplemental oxygen by hood or mechanical ventilator. Tapping on the baby's chest to loosen secretions, a technique known as chest physiotherapy. Antibiotics to treat infection.