Spotting

Ive been spotting for about a week now when should i call my doctor to make an appointment any reasons why i may be??