blood ?

So I had my period and it ended. A week later I had sex with my boyfriend and there was blood. Not enough to flow but it was there whenever I wiped. I don't know if it's because we haven't had sex in a long time or if there's another reason. Has that ever happened to anyone before ? What did you do? Help! Cause I'm freaking out.