(Optional) Prepare a letter of resignation.
Preparation should include
- a provision of ample time to find a replacement—usually two weeks
- an offer to train the replacement
- contact information for questions
- an expression of gratitude for the experience.