Started in the early 90's with a garage sale acoustic guitar (that my Mum bought me.. thanks Ma!) and it came with an old "Ernie Ball - How to play guitar - Beginner" book. That showed me all the basics like hand position, how to hold pick, etc, and a chord chart of several 1st position major and minor chords..
A few cheesy songs in there too to get you going. No scales or anything like that, just the bare bones so you could strum a tune with some practice.
Was perfect for me! Was enough in that simple 40 page book to keep me busy for the first 6 months.
After that, moved onto tablature books of popular albums (Hal Lenoard books?) and started to learn more complex chords (Eric Clapton MTV Unplugged tab book was good for that ), and then some of the heavier bands I was into (Slayer, Metallica etc) where I found the joy of riffs and began learning the simpler solos (scales! I'd heard of those!)
Then.. musical buddies, garage bands, awful but exciting 1st gigs (friends parties!), etc.
Was learning songs mostly by ear at this point from just rocking along to my CD's (total trial and error, but common patterns were starting to appear) or from just jamming with my mates and mimicking.
We got Internet! Tabs online.. internet lessons... world changed. Random websites teaching basic music theory, scale relationships, common modes etc. Just spent enough time on there to give me new tools to play with.
Wedding bands, pub bands, regular gigging. This was critical. Simply playing a lot did wonders and many things became second nature.
Had my first ever face to face lesson with a real teacher at this point.. and hated it. Just not for me. Could see the benefit of I wanted to learn theory, but I didn't (and still don't to some extent) see the need to deep dive into music theory. Never went back.
Fast forward 20yrs and I'm still visiting the occasional tutorial website, but mostly just playing and figuring things out by trial and error. YouTube is amazing if you get stale and want to learn try a new style/technique , then in few more clicks you can be jamming along to a suitable backing track to practice it.
Wow. Typed a novel. Ha.
Short answer: Playing a lot. ?