The public has been told to stay at home to protect the NHS and save lives amid the coronavirus pandemic.