A generator can be a wonderful tool during an outage, especially in helping keep the frozen food in your refrigerator cool. But, it can also be extremely dangerous if used improperly. Please view the Generator Safety article (PDF) for more information.
Be aware that it’s against the law, and a violation of electrical codes, to connect a generator to your home’s electrical circuits without a generator transfer switch automatic-interrupt device. Otherwise, if a generator is online when electrical service is restored, it can become a major fire hazard. In addition, the improper connection of a generator to your home’s electrical circuits may endanger service crews helping to restore power in your area.