Do not take the magnesium. I was just asking. The fiber pills could be giving you loose stool. For me it would. Try the meta mucil 4 times a day with the Imodium. It will help. Try it ASAP and let me know by the end of the week. Get the orange flavored. Two teaspoons per serving. Your doctor could try Rifaxin pills. That will work 100 percent. 1 or 2 pills a day and you could stay on it