Getting pregnant

Can you get pregnant while having a irregular period?!