What is this

I have been having this discharge for the past month. At first I thought it was old blood but it smells like discharge. I have been getting it on and off every like two weeks and sometimes it’s mixed with white discharge.