First and foremost, guitar is a pretty straightforward instrument for beginners. There's a reason it's the most popular instrument in the world. If you put in the effort, you can be playing something musical in a few months, and proficient in basic folk/rock music in a couple of years. It doesn't take "talent". It just takes effort.
Something that throws a lot of beginners is that we fret with our "weak" hand and pick with our "strong" hand, which seems backwards. That's only because they're beginners. Picking is much harder than fretting. It doesn't seem that way when you're struggling with cramped hands for your first few chords, but good picking technique is the key to actually being good, and it's very challenging.
Don't try to learn on a crap guitar! If it has high action and truly hurts to play, or if it has bad tone, it'll drive you away. Learn on a good instrument. Virtually any guitar that costs over $200-300 new these days is good. You don't need to spend a fortune. And get it "set up" at a good guitar shop. It makes a huge difference in tone and playability.
If you're playing rock guitar, there's a real temptation to use way too much distortion to get what you think is the sound on records. Most great rock guitar tones are much cleaner than they sound. When in doubt, use less gain.
And finally, the guitar is an incredibly deep instrument. After 35 years, I feel I know less now than I knew after three years. Approach with humility.