A 74-year-old man on a surgical ward becomes acutely short of breath. On arrival, he is talking in short sentences, respiratory rate 28, oxygen saturations 90 percent on air, pulse 110 and blood pressure 100/70 mmHg. What is the most appropriate first action?