Sex during period?

Mirla
 I thought my period was over since I didn't bleed all night ,so I had sex next day first in the morning and I bleed while I was in action but we just kept going on.is that bad or do I have a risk I might get pregnant? (I use Condom)