Residents have been told to avoid leaving their homes unless absolutely necessary.