Take care when using your generator.
Know your generator! Read all the information on installation, safety, and maintenance, and follow the instructions regarding maintenance and testing.
The easiest safe way to temporarily connect a portable generator to a refrigerator or other small appliance is to simply run an extension cord of adequate size between the generator and the appliance. Above all, do not try to use a "cheater" or modified extension cord to plug a generator directly into a wall receptacle.