Basically, to become a doctor, you will have to invest long years into the education and training for you to become proficient in diagnosing ailments, determining the appropriate treatment options, and prescribing the medication. Firstly, it takes 4 years to obtain an undergraduate degree from medical school, another 2 years to obtain a medical degree or MD, and then 3 to 7 additional years of residency training before you can obtain a license to practice medicine or surgery.