The optimal PEEP level is determined through a combination of clinical assessment, blood gas analysis, and imaging studies. The aim is to achieve the best possible oxygenation with the least amount of pressure. Titration of PEEP is done cautiously, with frequent monitoring to avoid complications.