Getting pregnant while breastfeeding

Does anyone know if you can get pregnant while still breastfeeding? I’m trying to get pregnant but I haven’t gotten my period back yet after having my son. He’s 8 months old. Would I have to stop breastfeeding in order to get pregnant? Thanks!