when is it time to see a doctor

I've had a headache off and on every day for about 2 weeks now. It's sometimes accompanied by nausea and aches behind the eyes. Sort of like a migraine but not as severe, no flashing lights or vomiting. I can still function it's just getting annoying. When is it time to see a doctor about this ? How long is too long to be having a headache every day?