Help?

Lately I've been having random discharge and a foul smell. I haven't had time to go to the doctor. And I was wondering if any of you knew what might be causing this ??