Gingerbread cookies are typically decorated after baking and cooling. Royal icing or decorative elements like sprinkles and candies adhere better to cooled cookies.