Help buying a car

Currently 23 with a credit score of 720, planning on buying a car that’s currently marketed for 24k. Wanted to know what would be the right move to do if I were to finance this. Is there a set amount I should put down and should I finance thru a dealer or credit union/bank?

Do I get a loan first then go to the dealer vice versa?