If you did not do well in your freshman year of highschool. (3.0 Gpa) what can you do to still get into a good school, like Stanford, Penn State etc?
Do very, very well in your sophomore, junior and senior year. Ace the SATs. Get seriously involved in ECs. And hope for a lot of luck.
3.0 freshman year is not much of a barrier to entry at all for Penn State - just work on improving your GPA over time.
Stanford and Penn State are not at all the same, admissions-wise. One has a 5% acceptance rate; the other, 50%. Look at the Common Data Set (google it) for different schools to see what you need to achieve to have a chance.