cook the onions in olive oil until they are golden brown. add the chorizo to the same pan and cook it briefly. pour the eggs on top of the onions and chorizo and gently stir. let the bottom of the omelet set, then gently lift the edges to allow liquid eggs to go to the bottom and cook faster.