Pregnancy!

Can I get pregnant if I had sex a day before my period? My cycle has been irregular for the past 2 months. Also, I just came on my monthly, but I had sex this morning with a condom. My partner didn't ejaculated inside of me, we used the pull out method last night