A 26 year old man is brought to the emergency department after a road traffic collision. He is conscious but confused. According to an ABCDE assessment, you find a respiratory rate of 32 per minute, shallow breathing and reduced chest expansion on the right with tracheal deviation to the left and absent breath sounds on the right. What is the most appropriate immediate intervention?