How many days of mid cycle spotting and bleeding before I should see a dr?

Ella

I've been spotting on and off for 9 days now. Yesterday it started to get heavier and is more like a very light flow. Should I see a dr? I've never had this happen before. I'm also on the pill.