They help some. Factors include fit, droplet size. Flu is also spread hand to mouth so anything you touch, including money can be contaminated. Very hard to stop transmission.
Needless to say , nothing is 100% but masks will help if you are of a mind to wear the thing.