Spotting?

Okay so I just started on the pill this month (a bottle over 3 weeks ago) and I'm spotting like crazy. The doctor did say I would spot a little but I'm not sure how often is okay, and it seems to be relatively random. Any advice? Thanks!!