Cooking pepper, onion and garlic in a large pan