I would put my weapon away, talk to them from really close distance (that they could really hear us, and we could hear them as well). If it's possible, then I would try to avoid any gunfight and if it's not possible, then I would warn them ("put your hands up or you'll be shot"). I would repeat...