Toasting spices brings out their flavors. Heat an 8-inch frying pan over medium-high heat. Add the spices and stir until they begin to release their fragrance and are just toasted, about 30 seconds to 1 minute. Transfer to a plate to cool, then grind in a spice grinder. Or do what I do—buy a cheap coffee grinder and dedicate it to grinding spices.