Important Safety Note: Contents affected by unsanitary water sources such as sewer water and overland flood waters (Category-3 water) should be Disposed of except in some cases where decontamination is possible. Decontamination is only recommended for nonporous materials like glassware.
Like in most cases of water damaged/wet materials, contents should be dried as soon as possible. Doing so will drastically increase your chances of salvaging these effected contents. In most cases waiting 24 hours may be too long depending on the type of materials.