There is not one for fart, but the phobia of smells is
Olfactophobia.
View page
Yes, the phobia of bad smells does exist. This phobia is called autodysomophobia. Bad smells are actually caused by bacteria, so it could in fact be a phobia of bacteria or a form of OCD.