Most masks won't filter the virus. N95 can only filter particles greater than 0.3 microns and the corona virus is around 0.16 microns.
The masks are more for stopping behavioral habits for non-infected people like touching your mouth and nose but then you could touch your eyes too...
The masks are more for the infected people who could sneeze and spread the virus particles much further than if blocked by the mask.