Has it ended

J
I am currently on my period, I thought it ended the other day but when I had sex it came back, now it seems to have stopped again but how do I know for sure before I have sex again?