Can u get pregos on ur period

Had sex legit like hours before my period started and he came in a condom but at first there was no condom then he put it on half way threw cause he knew he was going to cum inside me so I should be safe right 
Also the guy was my bf of 2 1/2 years