Treatment for respiratory distress syndrome usually begins as soon as a baby is born. It may begin in the delivery room.