The invention relates to a gas composition containing nitrogen monoxide (NO) and helium (He), which is administered by inhalation in order to prevent or treat at least a bacterial infection affecting all or some of the respiratory tract of a patient, especially the bronchial tree and the lungs.