Starting the pill

I’m 17 years old and i have just started the pill. I was wondering how long if your first period on the pill meant to last because so far it has lasted 9days and will be 10 days tomorrow. For the last 2 days my bleeding has been more of a brown colour than a red colour but now today i had a spotting of red? Is this normal for the first time on the pill?