how to quit?

to quit and put in a two weeks do you just talk to your manager? or do you have to file it on paper or something?

it’s my first job thank you