There are no legal restrictions in the UK if you get COVID-19.
It now appears that the NHS regards Covid like any other respiratory illnesses such as 'flu.
If you have Covid-19 it is advisable to stay at home, to avoid contact with other people, to rest and drink plenty of fluids.