This question already has an answer here:
I started a new job about a month and a half ago.
From day one I didn't like it and felt that it wasn't for me. Initially, I assumed that I was only feeling that way because it was new to me and very different to what I am used to. I tried to give it a chance but have come to realise that the job really isn't for me, there's not a single aspect that I even find bearable.
I have found a new position back in the industry I was in before (and loved) and I have made the decision to resign.
As much as I dislike my current job, I still don't want to burn any bridges. How do I resign ethically and without offending anyone?