Store spices in their jar in a cool, dark cupboard. If grinding, do so just prior to use as pre-ground spices lose flavor and aroma over time.
Star anise can be used either whole and then removed prior to serving or freshly ground. Use to season proteins (especially duck), hot beverages, cocktails, and desserts. Try steeping star anise in milk that is to be turned into a custard like crème brulee.
How to Grind Whole Spices
Cocktail & Beverage Recipes