CPAP can be provided using nasal prongs or masks and various apparatuses to provide the positive pressure; it also can be given using an endotracheal tube connected to a conventional ventilator with the rate set to zero.