Learn to code. Best place to start on this journey is to start with https://www.freecodecamp.org/. Complete it and you’ll not regret it. Read about the founder to get self motivation
Every area whether it is mechanical or it is civil, have computer technology intersection. So learn towards using computer concepts, internet of things (IOT), AI/ML in your domain and that will set you up.
Learn to code. Best place to start on this journey is to start with https://www.freecodecamp.org/. Complete it and you’ll not regret it. Read about the founder to get self motivation