After a flood, roof leak, or some other form of water damage, people often fail to do the right things. If you can dry your environment quickly, you have a strong likelihood of avoiding any mold issues. The first thing to be done (if possible) is to stop the infiltration of water and alter the environment to promote rapid drying. A dry environment is achieved by installing dehumidifiers and running your AC or heat, depending upon the season.
Fans will further promote drying, but we caution you about using them: DO NOT USE FANS IF YOU SUSPECT MOLD GROWTH, because fans will aerialize the spores and could create an unsafe breathing environment. This can be especially dangerous because some mold spores are highly toxic. Remove water-damaged sheet rock immediately. You also may have to sacrifice your carpeting if you are unable to dry it immediately.