To toast anise seeds (or, for that matter, any seeds, including cumin, coriander, caraway, and so forth) place them in a dry skillet over medium heat. Allow them to toast for about 2 1/2 minutes, stirring or shaking the skillet often, until fragrant. Immediately remove the skillet from the heat and transfer the seeds to a plate to stop the cooking.