It seems that you have an intestinal candida but the cause to it still remains shrowded.
Are you taking probiotics?
What could be recommended to 100% for a candida diet is:
Grains: Brown rice, quinoa.
Animal protein: Poultry, fish.
Vegetables: Broccoli, kale, turnip, cauliflower, onions, garlic, seaweed.
Fluid: Water, noncarbonated mineral water.
Spices: Salt, curry, oregano, thyme and cayenne pepper amongst others.
You may try experimenting with other foods by exploring the internet of advices and draw conclusions subsequently by how your body reacts to it.