Heat the oil in a large frying pan over medium heat and cook the onion and pepper, stirring, until soft and sweet.