breastfeeding question

Does breastfeeding always keeps you from having a period till you stop breastfeeding? Or will I get my period after a certain amount of months even while I breastfeed?