Pain during sex

Recently every time me and my boyfriend have sex it hurts really bad. Its an intense stinging pain during penetration that happens pretty much the whole time. I go to the bathroom after and it will sting if I pee (right after sex) and there is some blood when I wipe. Anyone know what could cause this?