Very good question! Most pharmacists have at least a Bachelor of Science degree in chemistry or other science such as physics or biology. The PharmD degree that pharmacists receive upon graduation takes between 3-4 years of study. You will have to get excellent grades throughout high school and college to be considered for admission.
You may want to talk to a pharmacist to find out what she does at work.
I teach a course for pharmacy technicians at a community college, some of whom are planning to go on to pharmacy college. Best of luck.