You can use a safety to prevent accidental firing of a weapon.