If your pregnancy is not high risk, ok lang ituloy ang breastfeeding. But if you're having contractions or bleeding, you have to check with the OB if it's still safe to continue to breastfeed your child. Ako, I was still able to breastfeed although I encountered some spotting and bleeding during my pregnancy.
You may ask your OB if kaya na mag breastfeed ka while pregnant. Your OB will determine if hindi naman high risk ang pagbuntis mo then you may still continue breastfeeding. Baka bigyan ka lang ng pampakapit.