Preheat the oven to 250 F (121 C).
In a medium bowl, mix all of the salsa ingredients together and set aside.
In a small nonstick pot, heat the refried beans over medium heat until they’re warmed through.
Heat a large skillet over medium heat. Once it’s hot, add 3 Tablespoons oil. As soon as the oil is hot (you can tell because it will be shimmering), cook the tortillas, one at a time, for 30 seconds on each side. Use tongs to remove the tortillas to a paper towel lined plate to allow them to drain the excess oil. Move the tortillas to the oven on a rimmed baking sheet to keep them warm while the eggs fry.
If you need more oil, add the remaining Tablespoon of oil to the pan, and once it’s hot, crack the eggs into the pan. Add salt and pepper to taste. Fry the eggs without flipping them. The whites should be set and the yolks should still be runny.
Assemble the huevos rancheros by using a spoon to spread refried beans over a tortilla, then top it with a fried egg, salsa, cotija cheese, and hot sauce.