Help?

I’m 18 weeks 2 days pregnant with my first, my boyfriend and i just had sex but i went into the bathroom to go pee i wiped and i had some spotting. Should i be worried or could it just be because he tore/scratched me? Help im getting mysekf worried