Choose a Programming Language. C++, Python, and Java are the most popular.
C++ is often recommended as it's fast and efficient.
To start, you can use HackerRank to practice coding, solve some of the easy and medium problems. Or check out the USACO General
Step 2:
Build Problem-Solving Skills and Math Basics. After gaining a general idea of how to code, you can start solving easy and medium-level problems on Hackerrank or check out the USACO Bronze (USACO Bronze).
You can also try solving introductory problems on CSES and Codeforces.
Note: If you find that you can comfortably solve problems on the current page, move to the next page.
Step 3:
At this stage, you can start learning basic algorithms and data structures.