It is advisable to consult a healthcare professional before taking any medication, including Dulcolax, during pregnancy or while breastfeeding.