If you want to be a pilot the best thing to do is concentrate on that.
Becoming a licenced B1 or B2 can take much longer and requires alot more study. Between 2-5 years study, average is probably 3-4 years. You also have to have 5 years experience but this can be reduced depending on backround.
It can also be very difficult to get the experience required if your not working in an airline or Maint Org as most won't touch without an apprenticeship.