One doesn’t become a scholar until he studies and masters all sciences of Islam whether in an institute with doctors and scholars or under scholars in privacy or in masjids! Once he does that, other scholars must recommend him and endorse him. This may take tens of years as people vary in their quest and comprehension.