End of Period?

When you "end your period", does it end when there's no blood? Or when there's the discharge stuff?