Unsure..?!

So I'm off my period and me and my boyfriend had sex yesterday and I started spotting after .. Idk why nothing hurt during sex so I'm unsure to what was going on... Any ideas ???