After 12th, you can pick a Hacking course simultaneously along with a Bachelor's degree (BSc, B.Tech, BE, BCA) in the following disciplines:
- Computer Applications
- Computer Science
- Information Technology
- Information Systems
To add on, for being a professional ethical hacker you require motivation, dedication, initiative, self-education, and formal training in ethical hacking. I would like to suggest a few points:-
1. Know about the different types of hackers, such as White Hat, Grey Hat, and Black Hat hackers
2. Evaluate your strengths and interests and gain some programming knowledge such as C, or Java.
3. Learn the UNIX operating system as it is regarded as the original operating system built by hackers.
If you are interested to become an ethical hacker, check out this Ethical Hacking Certification by Intellipaat.
Also, you can watch this video for more information: