Can someone please help

I’ve recently been taking birth control and it’s been making me have my period like crazy. I just got off my period 2 days ago and me and my boyfriend decided to have some fun today. so we did and during the sex I was bleeding randomly. I don’t know what it’s from so can someone please tell me why I’m bleeding during penetration ???????