How cool to aspire to be a surgeon! In time, that question will matter more. Right now, if you’re in high school, study science, English, and math. In college there are requirements for getting into any medical school. According to the American Academy of Family Physicians, you will need biology, chemistry, physics and calculus in college. https://www.aafp.org/medical-school-residency/premed/getting-into-med-school.html
There are many good medical schools and once there advisers will help you apply to residencies for surgery. That path takes upwards of 12 years of study after high school.
If you are in high school and are interested in medical careers, but not sure which, you can explore them: https://www.topmedicalassistantschools.com/top-50-health-care-jobs/
Also, ask your guidance counselor how to talk to people who work in the medical field. I was interested in medicine and ended up as a mental health counselor once I learned more. Good luck!