EP Cancellation, Will Not Renew

Ny EP Visa will exoire on Nov 2019. I do not understand cancellation penlties and buy out. Can someone explain to me and how to avoid paying sucg penalties?

What if I do not want to renew my EP? When is the time I can resign without penalties?

What will happen if I extend after Nov 2019 but for example suddenly need to resigned on Feb 2020?

Read and check your contract for the item "termination notice", just follow it.