A paper mask cannot filter out gases.
[1] https://www.homedepot.com/p/HDX-N95-Disposable-Respirator-3-... [2] https://www.homedepot.com/p/3M-OV-AG-P100-Professional-Multi...
Also when someone farts it’s the particles that smell bad, not the air itself