Remove the potatoes and onion with a slotted spoon to a baking sheet lined with paper towels, and let them drain. Pour the oil out of the skillet into a cup; wipe out the skillet and remove any pieces of onions or potatoes stuck to it (it will be used again to set the omelet and must be completely clean to avoid sticking)