It is possible, though unlikely, to get pregnant during your period. This can happen because sperm can live inside the female reproductive system for up to five days, and if you ovulate shortly after your period ends (especially if you have a shorter menstrual cycle), the sperm from sex during the period could fertilize the egg. Additionally, bleeding during ovulation can sometimes be mistaken for a period, increasing the chance of conception if sex occurs at that time.
In summary, while the chances of pregnancy during menstruation are low, there is still a small but real possibility, particularly for women with shorter or irregular cycles. Using contraception is important if pregnancy is not desired.