It's generally not advisable to use an extension cord with high-wattage appliances like electric garage heaters. Instead, plug the heater directly into a dedicated wall outlet.