Dietary management is a large part of IBS treatment. Figuring out trigger foods and avoiding them, eating appropriately timed and proportioned meals, and following a low-FODMAP diet can help keep flare-ups under control. Over-the-counter and prescription medications, such as antibiotics, antidepressants, and antispasmodics, may be used to manage symptoms and promote normal digestive function.