To get the biggest flavor punch, dry-roast whole spices in a pan or in the oven and then grind them just before use.