Cut the onion and the pepper into julienne type pieces. Heat the oil in a pan and add the vegetables. When soft, remove from heat and set aside but keep warm.
In the same pan, grill the egg using the remaining oil.
Put the vegetables at the bottom of the dish, with the egg on top and a dash of pepper.