Result are from a study in a hospital, I'd assume it would apply to non-hospital situations too. Basically wearing a mask
does decrease infection (not only from Covid).
N95 respirator use was associated with fewer viral infectious episodes for healthcare workers compared with surgical masks. The N95 respirator was most effective in reducing the risk of a viral infection in the hospital setting from the SARS‐CoV 1 and 2 viruses compared to the other viruses included in this investigation. Methodologic quality, risk of biases, and small number of original studies indicate the necessity for further research to be performed, especially in front‐line healthcare delivery settings.
Although : "Healthcare professionals have stated discomfort, most often headaches, associated with N95 respirator use."
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8552225/