Pregnant on period?

Can you try to conceive while actively on your period? Do you have to wait until fertile window or can pregnancy happen at anytime