is it possible to get pregnant a couple days after period ends?

Lizzy
So my boyfriend and I slept together the day my period ended and  2 days after it ended. In the past I've only gotten pregnant when I had intercourse between 8-12 days after period started. My periods have always been 5 days long but years ago my cycle would be 28-30 days. Now my cycles are 25-26 days. I'm curious since my cycles have shortened that by having sex on 7 days after period starts if my chances of getting pregnant are still good?