Add the onion, garlic, Italian seasoning, crushed red pepper, sugar, salt, and pepper to the bowl of a food processor fitted with the chopping blade. Pulse until the ingredients form a paste.
Heat olive oil in a large, heavy bottomed sauce pan or dutch oven over medium heat. Add the onion mixture to the hot oil and cook, stirring constantly for 5 minutes.