Singapore took a very heavy hand to the problem and locked the country down in May and June. Regulations were enforced and people not complying were fined or jailed. Opening up has been a prolonged process done in stages.
However, this approach worked. The country is virtually COVID free with 1 or 2 new cases a day and a total of 60 active ones left.
The UK wasted the first lockdown by not thoroughly enforcing it and going back to normal almost straight away. Now a second one is coming up which will be even more costly and damaging to the economy.