How to buy a car

Hey guys i live in ct, im about to buy a car but I've never bought one and idk like what goes on. Like do i take the person to my bank and give them a check or cash and do i have to sign the title in front of someone else besides me and the seller. I need help guys!!