Weird question

Melody

So I have a weird question, well to me it is. My period was very lite yesterday by the evening it was done my 4th day on it. This morning my husband and I did the deed and later when I went to the restroom I had lite blood again and again later today it was gone. So my question is did my period end yesterday or today? Do you count it if it went away but slight blood after sex?

Sorry if this is a dumb or weird question I honestly want to make sure I’m logging everything correctly.

Thank you in advance!