will my freshman gpa of 3.5 ruin my chance of going to a good university?

i want to go to a upper rank UC and possibly stanford or a lower rank ivy league?

UC’s do not consider Freshman grades in their GPA calculation. As for Chapman, you are doing fine with a 3.5. You have 2 more years before application season, so work hard, prep for the SAT/ACT before Junior year, add some HS course rigor this year and next and do things that interest you. It is too early to start targeting specific schools. Enjoy HS and come back at the end if Junior year.