That click, hum, click is the compressor trying to start and its overload protector shutting it down, over and over. On many refrigerators the fix is a start relay, a small part plugged into the side of the compressor. On newer ones it can be the inverter board. Sometimes it is the compressor itself, and that is sealed-system work that only an EPA-certified technician can do. It won't cool like this, so move the food to coolers or another fridge. Unplugging it until it is looked at saves wear on the compressor. One exception: a few clicks in the first five minutes after a power outage are normal.