Bleeding again

So I had my period last week. And it ended a couple days ago. Last night me and my boyfriend had sex and after we noticed blood EVERYWHERE. All over the bed and everything. It also hurt at the beginning of our sex. What are y'all's thoughts???