Keep a detailed food diary so you can identify which foods are causing your farts to smell. You can then avoid those foods, which can help improve the smell of your farts.