Heat the oil on low heat until simmering then add the crushed garlic and chopped onion. Stir for about 5 minutes. Add the crushed tomatoes, basil, salt and pepper.
Cook on medium heat until the sauce has thickened for about 25 minutes. Cooking longer can add more flavor, but if you’re in a rush 25 minutes will do.