Dig deep and recall how you felt when you first started your job. Consider the positive experiences and benefits received; friendships, training and development, knowledge and experience acquired. This will help you have the right frame of mind to resign and work out your notice period with grace. Being grateful balances any angst you may feel towards your job and helps with a dignified and memorable, for the right reasons, exit!