It is preferable to consult a doctor before using cornflower during pregnancy and breastfeeding, to ensure that its use is safe for you and your fetus.