You might be tempted to throw away a pack of berries if even one of them is moldy, but that isn't necessary. Professionals advise that a single moldy berry doesn't spoil the bunch.
USDA suggests picking out the moldy berries and any that were in direct contact with them, but the remaining ones can be consumed if they are fresh and aren't overly soft.