Help please

Can you get pregnant right after period ends if you had sex the next day.