Can you get pregnant while breastfeeding?

I’m only 3 weeks postpartum, not having sex until I’m cleared by my OB. But I’m wondering since chances of having a period while breastfeeding are slim, can you still get pregnant?