Preheat oven to 400℉.
Dice the onions and red potatoes.
Put the oil in the pan and get it warm.
Add in the onions and potato pieces.
Cook until the potatoes are soft. Covering and stirring as needed.
Add the chorizo to the pan and cook until it is done.
Whisk together the eggs and pour over the whole chorizo mixture.
Top with chesse.
Place the pan with the mixture into the oven for about 15 minutes.
A knife should come out clean when inserted.