Preheat your oven to 350°F (175°C).
Heat the oil in a small skillet over medium heat.
Once hot, fry the tortillas one by one for about 3 seconds per side, just until they are softened and heated through.
Do not let them get crisp.
Transfer to a plate lined with paper towels to drain.
Spread 1 tablespoon (15 ml / 0.5 fl oz) of the warm refried beans evenly over the center of each softened tortilla.
Set aside.
In a nonstick skillet, use the remaining oil (or add a little more) to fry the eggs sunny-side up or to your desired doneness.
Season with salt and pepper as they cook.
Place one fried egg on top of the beans on each tortilla.
Top each egg with 2 tablespoons (30 ml / 1 fl oz) of salsa and 1 tablespoon (15 ml / 0.5 fl oz) of cheese.
Carefully transfer the assembled Huevos Rancheros to a baking dish.
Bake for about 5 minutes, or until the cheese is perfectly melted.
Garnish with fresh cilantro and serve immediately.
Don't overcrowd the pan when frying tortillas.
Frying them one at a time ensures they heat evenly and don't absorb too much oil.