You need to have a lot of patience when you start your coding journey. At first,you need to learn basics like for loops,basic math etc. After 6 months you need to start solving questions on code-forces and other platforms. You need to have a lot of patience in order to increase ratings. It is a long process. First solve easy problems then increase levels, 1 step at a time.
After learning basics of a language like c++(preference) or any other language ,you need to start learning data structures topic wise. Again you need to give time to each topic. Then after many days you will self realize that you have come a long way ahead .