Freshness and flavor go hand in hand with espresso. Experts agree that you should grind your beans just before you’re ready to make a cup of espresso. And ideally, you should finish a bag of beans within three to four weeks of opening the package to minimize the risk of losing flavor.