The fastest way is also the ONLY way to remove the smell: "remove" the air with the smell.
Either open the door (no electricity required, the smell will dilute into the entire flat / house.
Or use a ventilator, like in any civilized country. The ventilator can be operated automatically with the lights. It is the best if the ventilator has the function to delay the turn-on (there is no need to remove fresh air at the beginning) and the turn-off (when the lights are turned off, there is still some smell left, which needs to be removed).
How to electrically wire those ventilators: we welcome you on Electrical Engineering SE.
The real life-hacks:
If you need to go in-there shortly, take a big breath of fresh air outside, and then hold your breath inside. I do this occasionally myself.
If you need to be there for a longer time, breath deep and fast at the beginning. You will have those particles of farts and sh!t in your lungs anyway - but at least your brain gets accommodated with the stink and you will not feel it any more.
NOTE: Inhaling various fumes (like the fumes of burning / burnt matches, or from various chemicals, including deodorizers) can be a lot more dangerous to your health than plain discomfort.