CPAP

I am in middle of Sleep Study, How long after surgery will CPAP machine be required