You build by doing. Set up a home lab, break things, fix them, learn Linux, analyze network traffic, complete CTFs, and document your work. Knowledge sticks when your hands are on the keyboard, not just watching videos.
As a beginner, you might, how?. How do I start building.