1. Learn programming, self teach or go to a coding bootcamp or major in CS/Software Engineering
2. If you're in college find internships, build side projects (this will be your portfolio), learn data structures and algorithms
3. Apply, apply, apply
4. Study for interviews, grind leetcode questions, keep applying and keep your head up this is a hard process.
For a more detailed guide look up a youtube video on how to become a software engineer or related. There everywhere and will go more in depth. But honestly, this is the general idea.