Start learning the basic concepts in computer science for eg. Boolean Algebra, Conditional Statements, Variables, Control Statements etc.
It’s not about the language in which you code. It’s how you solve the problem.
So, if you get these basic concepts clear. You’ll be able to use them with any language you prefer.
Then, choose a programming language to learn eg. C, C++, Java, Python etc.
After this start learning how to code, the syntaxes etc. Once you get quite familiar with basic and some advanced topics. Start learning some algorithms and data structures this will help you in competitive programming. With websites like Hackerearth, Hackerrank, Codechef etc. It will let you practice and improve your skills.
If you want to be a developer, then try reading some articles etc on Web/Mobile/Cloud Development etc. Understand what all languages that you require to Start! then keep learning and building.
Originally answered in Quora. Click to view post.