AP Scores- will they effect admission

What type of school? Public or private? And did you study for the AP exams?