Period ending then starting again

Ella

So on my third and fourth day of my period I got a brown discharge and then nothing at all. I thought my period ended and was like yay woo boo but then my period came with a light/ medium flow.

What does that mean? And will my period still end in a couple days?