bleeding after sex

So my period had ended yesterday, completely I think because I put in a light tampon today for the gym & it came out clear about 4 hours later. I had sex and right after when I went to pee I wiped fresh blood. It hasn’t been a lot since then but I do keep wiping some. What could this be? It did hurt a little in a certain position while we were doing it, so maybe that could have contributed to it?? Helpppp I’m so curious