When purchasing your mushrooms, look for those that are firm and uniform in color.  Avoid those with wrinkles, dark spots, or dry patches, as this is a sign of early spoilage.  Good mushrooms should smell like clean earth.