HELP!!

I have very thick discharge, slightly yellow and smells of vinegar. I should be on my period soon. What's wrong?