How long? It all depends on your energy level. When your energy goes drastically down it is time to end it.... slowly ... with fresh vegetable juice first . If fresh juice is too difficult for you, sprout (alfalfa and others) as well as raw veggies + sauerkraut (to help the flora) are going to be a good start ... slowly, your stomach won't be used to digesting much anymore so make it many, many small meals instead of eating too much. Raw veggies will help finish the bowel cleanse.
Fasting is a great way to boost your immune system. If you get bowel pain, make sure you take care of this inflammation since a healthy gut will accept the heathy flora (marshmallow tea is great to tame the gut inflammation).
Urine therapy, along with fasting is a cure for candida. Not everyone wants to try it, but its proven successful.
I think it is wonderful you jumped into doing this. You seem to be intuitively right about what is good for you!
Listen to your body and... your intuition.