Begin by preparing the ranchero sauce according to the linked recipe.
Heat a nonstick skillet over medium heat and lightly brush it with avocado oil. Place a tortilla in the skillet and cook for about 15 seconds on each side, or until it starts to puff slightly and becomes aromatic. Continue this process with the remaining tortillas, adding more oil to the skillet as needed.
Next, fry the eggs following the given recipe. Once cooked, season the yolks with sea salt and freshly ground black pepper.
To assemble the dish, lay each tortilla on a plate. Spread a portion of refried beans over the tortilla, followed by a generous spoonful of ranchero sauce. Place a fried egg on top and add more ranchero sauce. Arrange the avocado slices on the side and, if desired, sprinkle with pico de gallo. Garnish with fresh cilantro, thinly sliced jalapeño or serrano pepper, and a sprinkle of Cotija cheese, if using. Serve immediately.