A person must get a bachelor's degree and a juris doctor degree (J.D.) from an accredited law school to become a lawyer. Law school takes 3 years, or 7 years including a bachelor's degree. They must also pass the bar exam in order to represent clients in court.