When we can withdraw sip amount

At what time is it ideal to withdraw the SIP amount without penalties?,