USA banned flights from/to China. Italy banned flights from/to China. (both decisions caused an outcry about "racism" at the time, btw) Other countries kept the flights going.
USA and Italy are now the countries hit hardest despite these restrictions, because the economy is global.
Either all countries must react properly, or a single country's actions won't do anything. Good luck with that.