How to know if period is over ???!??

Today is my fourth day and this morning I wiped and checked my pad and there was no blood coming so I assumed it was gone. I got dressed to go swimming and a few hours later before I left I felt something and I checked down to see blood coming!! Now I’m using pantyliners and it seems to be a little bit lighter but how am I supposed to know when my period is COMPLETELY gone?