Maternity leave

When do you start talking to your doctor about it