Cut the onions and garlic and set them aside.
Peel the potatoes and dice them into similar-sized pieces.
Add the oil to the pan and turn on medium heat.
Next, add the potatoes to the pan, cover with a lid, and cook for 10 minutes.
Remove the lid, add the onions, garlic, salt, and pepper and stir to combine.
Replace the lid and cook for five minutes.
Remove the lid and cook 10-15 minutes or until the potatoes are crispy.
Scoop the potatoes out of the skillet and place on a paper towel to soak up any extra grease, and serve.