Corona 19 spread

I fail to understand that to stop the spread of corona virus and as per the PM address to the nation the senior citizens and children are not to go outside their homes. But as employees in the family have to go to attend their duties, won’t they bring back the virus when they return home. At least the Govt should order to all employees to stay at home to keep the virus away from the families who are at home.
Preetam Katoch