Public offenses may be prevented by the intervention of the officers of justice:
Okla. Stat. tit. 22, § 34