This popular Mythbusters episode may help explain how it helps the public
The same rules apply with a mask one would presume - in that you aren't spreading germs. Another overlooked thing that people should do is remove their shoes before going into their home as the vast majority of droplets hit the ground.