Basically, if you are willing to work as ajudge, you need toclear two phases of entrance exams. One is when you complete your schooling/graduation to enter the law institute, and the next phase when you need to clear the state level PSC. So, here is the step-by-step guide to become eligible for the post of judge. Go through this detailed guide and then make the decision.
Have your degree in Law (LLB) with a minimum of 55% marks
Once you have the degree, apply for PSC examination of your state.
Clear the PSC and then if you have the experience as an advocate, you can apply for the judge profile in district level court
In order to become a judge in the higher courts, there are certain prerequisites and levels of experience that you should have as a judge in lower courts. Have a look at them and then you will be eligible to work as a judge in higher courts too.