Soft cheese should be eaten soon after purchasing. As a general rule, the harder the cheese, the longer it will remain fresh. Hard cheeses will generally be kept for several months, whereas softer cheese will keep from one to three weeks after opening, if stored in an airtight container.