Can you get pregnant with no period

I’m breastfeeding 9 months pp, I will randomly have periods but go months without them , I’m on the pill but I do miss some sometimes. Can u get pregnant with no period ? Lol sorry if this is stupid