Learning how to code is becoming an essential skill. This does not necessitate learning one specific coding language, such as Java, Python or C#, but it does necessitate learning how to think logically.
If you can think logically and understand how code works, you will be better prepared for dealing with automation.
Here are some free resources that you can use to learn and practice your coding skills.