place onion, garlic and chilli into a large pot or fry pan (make sure the pot or pan has a lid). add olive oil and heat at a medium temperature, until onion begins to soften. 2. add pepper, basil and oregano and allow to cook 3 to 4 minutes, so the pepper softens and basil and oregano infuse with the oil.