Slice the potato and onion into thin strips.
Heat cooking oil in a pan and stir-fry the julienned potatoes.
When the potatoes become translucent, add the sliced onions.
Season with salt and black pepper while stir-frying.
Once all ingredients are cooked, transfer to a plate.