An important milestone in your career is approaching: it’s time to resign, but how best to go about it? Whether you’re leaving on good terms or not, it’s good protocol to write a resignation letter.

While the main purpose of the resignation letter is to inform your employer that you’re leaving the company, you can also use it as a chance to build relationships and help you and your employer part ways amicably.

Here is everything you need to know about writing a concise and professional resignation letter.