Heat olive oil in a nonstick pan. Beat eggs with salt and pepper and set aside.
Add in onions and saute lightly.
Add potatoes and mix well. Season with salt and pepper and mix well.
Add egg over it and gently scramble lightly. So the uncooked eggs set.
Now cook till the top get cooked and bottom is slightly crispy.
Now place a plate over it, invert it, nowput the eggs back into the pan.
Cook for few more mins till potatoes get golden.
Now remove to a plate and serve.