Prepare the Salsa: You can use store-bought salsa or make your own by blending tomatoes, onions, cilantro, jalapeños, and garlic.
Warm the Refried Beans: In a small saucepan, heat the refried beans over medium heat until warm. Stir occasionally to prevent sticking.
Fry the Tortillas: Heat 1 tablespoon of oil in a skillet over medium-high heat. Add the tortillas one at a time, frying for about 30 seconds on each side until they are lightly crispy but still pliable. Drain on paper towels.
Cook the Eggs: In the same skillet, add the remaining oil. Crack the eggs into the skillet and fry them to your liking (traditionally sunny side up).
Assemble Huevos Rancheros: Place a warm tortilla on each plate. Spread a layer of refried beans on each tortilla, then top each with a fried egg. Spoon generous amounts of salsa over the eggs. Garnish with slices of avocado, crumbled queso fresco, and fresh cilantro.
Season and Serve: Sprinkle with salt and pepper to taste. Serve immediately while hot.