Let’s take it back a notch. You don’t have to memorize every single note on every string in every fret; that’s because of how the guitar is tuned and organized. We know that if we play open strings on the guitar, we will get the following notes:
All of the notes above Fret 12 on any string are just repetitions of the same notes, an octave above (for example, Fret 14 on the 6th string is an F#, an octave above the same note on Fret 2 on the same string). Therefore, we can simply subtract 12 from the fret number and proceed repeating the same process we have discussed until now.