It is suggested to go directly to the leader and tell him that he intends to resign. The reason, you can say your plan, for example, want to learn to charge; Or, I work too hard and want to give myself a vacation; Or, I want to change to a new working environment, and so on. If the leader agrees happily, he will make arrangements for your current work handover and salary settlement this month. If the leader is not so happy, if you decide that you don't want to work here, you will politely but persistently express your wishes to the leader. If the leader sees that you are really determined, then get along well and then seek development.
I don't want to give you too hasty advice because I don't know your actual situation.
I don't know if it will help you. Good luck!