ANSWER:
Once you are certain of your purity and there are no colored discharges, you must take ghusul and start to pray. If brownish or yellowish discharges appear afterwards, you need to wash yourself and change what is affected with such discharges before praying and and making wudhu.
If these are continuous without stop, you are treated like having urine incontinence and you need only to do that after the athan and you can pray regardless of what comes out after cleaning yourself and making a fresh wudhu.