How to know exactly when your period ends?

Amanda • Every thing is for a purpose. Nothing but BLESSED 💕
How exactly do you know when your period ends ? Is it when the red completely stops or after the brown spotting ?