It’s best to add spices near the beginning of cooking the sauce, as this allows the spices to bloom, enhancing their flavor. The exception to this is black pepper, which is often added as a finishing touch.