HEELP!

I thought my period was over yesterday/today because I was only spotting very little yesterday and didn’t see any today and I just had sex and it sort of hurt down there then when I went to the bathroom to wipe I was bleeding. It was a bright red blood. What could be going on?!??