Laboratory tests of surgical and N95 masks show that they do cut down the amount of aerosolized particles emitted during breathing, talking and coughing. Tests of homemade cloth face coverings, however, show that the fabric itself releases a large amount of fibers into the air, underscoring the importance of washing them.

Source: Comparing face coverings in controlling expired particles