Chords first to kinda get your feel in for the guitar. Notes after your comfortable and want to play solos. Learning scales help alot in Solos as well as writing songs. I'd suggest to learn as much in musical theory as possible, and take it to heart, Musical theory will help you understand the dynamics of music, and you can then use it to play just about anything, and even translate a sound in your head, to the fretboard of a guitar.
(Ps... Take it in one bit at a time to avoid any burnouts

)