In a deep bowl in vegetable oil, fry the onion until transparent. Add the chicken, season with salt and pepper and cook over high heat, without closing the lid, stirring occasionally, until all the liquid has evaporated. I recommend that the pieces of meat do not turn red, then it will remain juicier.