Having sex

When my boyfriend and I have sex I tend to bleed. We use a condom every time but lately it has been happening I am on the pill could that be effecting it