It says I'm done with my period.. But

I'm still spotting. Do I need to extend my period until I quit spotting? I'm so confused.