There are many ways to maintain the freshness and quality of your coffee, as essential oils are lost from coffee shortly after it is ground. You should also avoid exposing your coffee beans to moisture, air, light and heat and store your beans in a sealed container.