Sex After Periods

Okay so this app told me I had one day left before my period stopped, but on that day I stopped bleeding. I decided to have sexual intercourse because I thought I was done by what I could tell. The next morning after my decision I started bleeding again and it seems like spotting but then again it hasn't stopped for two days. Is this normal?