Type 2 respiratory failure often requires non-invasive ventilation (NIV), unless medical therapy can improve the situation.[9] Mechanical ventilation is sometimes indicated immediately, or otherwise if NIV fails.[9] Respiratory stimulants such as doxapram are now rarely used.[10]