Discharge!! help!!!

I have ovarian cysts and my period should be starting in two days. I've been having extreme abdominal pain and now this is coming out. I am sexually active but I do use protection... please help me as to what is happening