It depends on the cause and severity of patient illness, the time to use the ventilator may vary from few hours to weeks or months. If the patient is sedated during the surgical procedure, then use ICU ventilator machine may be for a few hours. But if someone suffering with major disease such as respiratory issues, coma, it may be use longer to many months.