Blood after having sex while pregnant

So last night me and the boyfriend had sex and then I went toilet and there was a little bit of blood. Is this normal or shall I speak to a doctor?

Thank you