Could I be pregnant?

I had sex the night before I got my period. We used a condom but it came off while he was in me...the next day I got my period usually it's 5 days to the t but I'm on my third day and it's acting like it's ending...could it be possible that I'm pregnant or why is this happening?