You will need to have an emergency generator to provide power to the pump. The emergency generator can be connected directly to the pump, or it can be connected to a transfer switch that will automatically switch over to the generator if there are power outages. If your well pump is connected to a battery bank, you may be able to use battery power to run the pump in a power outage. However, this will only work if the battery is fully charged and the outage is not too long. If the battery runs out of power or the outage lasts for more than a few hours, you'll need an emergency generator to keep the pump running.