Freshly cut eggplant turns dark quickly when exposed to air. It is best to cut it shortly before cooking to prevent discoloration that will only ruin your dish's appearance. In case you have some leftovers, drizzle some lemon juice - make sure each piece is coated. Store in a sealed container and keep it refrigerated for 2 to 3 days.