Question

My June an July period were on time but my september period was a little late I tested got a BFN then I started two days after which was September 18 well today 9-22 I'm barley bleeding an had sex which he ejected in me could I get pregnant? I hear u can an cannot get pregnant while on period