Solaraze gel should be used during the first six months of pregnancy only if prescribed by a doctor, and it is not recommended during the last three months of pregnancy due to potential harm to the fetus. The medication may pass into breast milk, so consult your doctor before using it while breastfeeding.