“In conclusion, both surgical and cotton masks seem to be ineffective in preventing the dissemination of SARS–CoV-2 from the coughs of patients with COVID-19 to the environment and external mask surface.”

Link. Masks may work more by encouraging social distancing than by blocking viruses.