I keep bleeding when me and my boyfriend try to have sex

Me and my boyfriend have tried to have sex twice, and in the middle I start to bleed and I have no idea why. Does anyone have any idea or advice on how to help??