I need advice, HS Sophomore, need to get on the right track when I can [aiming for military career, MA resident, 3.8 GPA]

Thanks for the advice, I hear that a lot but I always brushed it off as a underachievers advice but I will look into more personal institutions.