You can follow the below-mentioned steps to learn Selenium and, I have mentioned these steps by taking the thing in mind that you are a beginner, I am mentioning some of the simple steps which you can follow to learn Selenium:-
Learn OOPS concepts such as Encapsulation, Abstraction, Polymorphism, Inheritance.
Learn about Constructors, Abstract methods, Abstract class, Interface Multiple inheritance, Method overloading, Method Overriding, Packages.
Learn the Control Statements in order to be able to make decisions in test methods, Should I continue test execution,If the login fails.
Loops are the most important point to learn as a software tester so learn it also.
Now you know a programming language, so it is the time to start learning Selenium, so I would suggest you take up the Intellipaat’s Selenium Training Course. This is the best training course out there. You can also watch the following Selenium video tutorial to learn it in less time.