First, you need to get yourself a guitar, get one that is right for you because you will need a guitar to practice all the way. Next you need to set the tune of your guitar so it sounds right. Teach yourself how to tune by ear. You can also get a good guitar teacher who can sit face to face with you to guide and encourage you as you learn to play.
You can also teach yourself how to play the guitar, learn the chords, and use stepping stone chords. Learn the universal strumming pattern; teach yourself how to read the guitar tabs.
Practice regularly by playing songs you like, get a guitar book that will teach you basic things you need to know. With time and practice, you will become a guitarist.
Once you choose the right guitar for you, the first thing you must do is put it in tune. If your guitar is not tuned, it won't sound right. As you get started learning the chords, you may also want to learn how to read guitar tabs and you need to learn how to read standard notion. Knowledge of music theory is also a great tool to have.
Many guitar books have beginner songs that you can teach yourself and very basic two-chord songs will help you get started. Just make sure to make chord shapes with your left hand and you strum with your right hand. Leaning easy chords like stepping stone chords will help you develop your finger control and dexterity and will allow you to graduate to smoothly playing full chords.