You have to inform your employer that you want to leave. Give him enough time (1 month) to find a replacement. Thats all. Good luck!