How to properly quit
Do not tell any of your colleagues about your intention to quit until the last moment. If the company finds out that you are leaving, the authorities can choose a replacement in advance. This will be especially frustrating if you have not found a new job. In addition, colleagues can give you tiring and even insulting interrogations, as well as dissolve unpleasant rumors. The chief should know about your dismissal first, and then only when you are ready to leave.
Try not to conflict with colleagues and superiors. When people quit, people sometimes stop following their actions and express their claims, which for a long time held in themselves. Do not do this: who knows, under what circumstances you will meet next time.
Do not let colleagues and superiors know that you are looking for a new job. Do not spread your resume to known sites, do not search for vacancies in the workplace, and before calling a potential employer, make sure that it is not your own boss.
When you are asked about the reasons for dismissal, you do not need to say unpleasant things. Choose a neutral reason: find the best place, would like to climb higher up the career ladder, pick up work closer to home, etc. But do not tell me about conflicts with colleagues, stupidity of the boss, too low salary, hateful work, etc. Then, perhaps, the former leader or colleague will even be able to help you in the future.
Write the application correctly. The best option is to terminate the agreement as agreed by the parties, because in this case you will receive compensation. But if the boss does not agree to fire you, write a statement of your own free will, and in duplicate. The second copy will be needed if, after two weeks of forced labor, the head says that he does not intend to fire you and did not sign any statement.