In most cases, farting is good for you. It is a natural bodily process that everyone does. However, if excessive or foul-smelling flatulence can't be explained by the food you eat, it may be a sign of a disease, condition, or even a side effect of certain medications. Non-steroidal anti-inflammatory drugs (NSAIDs), statins, and antifungal medications can sometimes cause excessive or smelly gas.