Babies who have RDS are given surfactant until their lungs are able to start making it on their own. Surfactant usually is given through a breathing tube. The tube lets the surfactant go directly into the baby's lungs.