The duration can vary from person to person. It's best to reintroduce foods gradually over several days once symptoms have subsided. Starting with low-FODMAP, easily digestible foods is a sensible approach, and observe how your body reacts.