Periods-sex

I have irregular periods but he came in me. Could I be pregnant even if I have irregular periods?