How to become a good specialist?

Yesterday with a friend we chatted on the phone. She is now on sick leave, and it naturally came about doctors. They told each other a couple of terrible stories and complained about how scary to walk to them.