Bleeding during sex

My boyfriend and I have been having sex for almost a year now and all of the sudden I’ve started bleeding during sex. It’s happened the past 2 times and I’m on birth control so I don’t think I’m pregnant and I should get my period in about 3 or 4 days. Is it an infection or pregnancy or what????