Slice potatoes and onions thinly.
Beat eggs and season with salt and pepper.
Heat oil in a pan and sauté the potatoes and onions.
Once the potatoes and onions are cooked, pour in the beaten eggs.
Cover the pan and cook on medium-low heat.
When one side is set, flip and cook the other side.
Cut the finished omelette into pieces for serving.