Sex after a while?

I haven't had sexual intercourse since August, well yesterday I did. And today it hurt bad down there and when I would go pee and whip I was spotting. Why is that? Somebody help.