Be cautious and careful. It’s not recommended for women who are pregnant or breastfeeding to do intermittent fasting.
During this period, the nutrition that a baby can get is all from the mother, and breast milk can meet the baby’s requirements for development via all kinds of healthy nutrition.
But that does not mean that you cannot start fasting at all. Different people have different health conditions so you’d better consult your doctor first.