Quitting a Job for another job

Dede. 🌻🐘 • 26, Writer | Student | MEM 🛫🛬OKC
I've been working at my job for about two or three weeks but I just got a job offer that to me is 10xs better, I'm more qualified, it's not a sitting down all day job like the one I'm at now which I realized I don't like and I feel like they can hire someone better than me that actually went to school for what they have me doing. But my question is how do I go about quitting this job since its only been a few weeks? My current job doesn't know im planning to leave yet but I will let them know my next working day when/if all goes well at this new job offer. I've never quit a job so sorry if this is a stupid question.