Start by visiting your local music store and pick up a booklet for beginning guitarists, such as Hal Leonard's Beginning Guitar Method Book One. Inside are instructions in tuning, maintenance, basic chords, and, most important, basic music theory and accompanying exercises that will get you into learning music notation. Better still, ask about guitar lessons at the store. That is a better option.
While at the music store, pick up a comprehensive chord book of at least 2,500 chords and how they appear in music notation.
Learn the Chromatic Scale for each string and the moveable chords, such as F, Fm, Bb, Bbm, Ab, C#, etc. These chords, all beginning in the first fret, are moveable and become new named chords as you progress up and then down the fretboard.
There is no instant success at guitar playing; just a steady, on-the-course pursuit of improving each day until you have mastered quick changes of chords, produce good tones in those chords, and have developed appropriate rhythm techniques.
Last, but crucial to your learning process, is building up the needful calluses that must come if you wish to play the guitar. Expect about two weeks until the fingertips begin to toughen up for you. Without them, chances of progressing on the guitar are almost negligible.
You will have to spend a little money to get started, primarily for a beginner book and a quality chord book. If you can move beyond the painful fingertips and still feel determined to play the guitar, then you can do it.
Best wishes.