Time: 2 hours. Homemade tomato sauce makes the tastiest pizza. Let it cook slow and long for the thickest results.
Heat oil in a saucepan over medium heat. Add garlic and cook, stirring, until fragrant, about 1 minute. Stir in tomatoes, sugar, chile flakes, salt, and pepper. Bring mixture to a boil, then reduce heat to low and simmer, stirring often, until very thick, about 1 1/2 hours. Stir in oregano.