Cut potatoes, onions, and ham into bite-sized pieces.
Heat some cooking oil in a pan and stir-fry the potatoes.
When the potatoes are partially cooked, add the onions and ham and continue stir-frying.
Once all the ingredients are fully cooked, serve.