All local authorities have a 24-hour social services emergency phone number. They, in turn, all have 24-hour contacts with organisations such as the British Red Cross who train for such emergencies. (It's often the Red Cross that find emergency accommodation for people that have lost their homes through fires, so the Fire Service is another contact point for them).