Here is an educational clip from Japan showing the various methods you can use to disperse bad smells. I love the fact that they used yellow to highlight the gas and the semi tight sound is classic.
The conclusion is that you should never walk in front of your fart. The best and fastest method of detaching yourself from the smell is to quickly move off the side like a crab simultaneously tapping your bum hole. This method is called "The Indian" in Japanese. I'm not making this up! This is even better than the F CUP cookie.