Here is one way to play the Major Scale, starting and ending on a root note, and remaining in one position on the fretboard.
It doesn't get any more fundamental than this, you will use the Major Scale for everything from songwriting to improvising.
Essentially all of Western music theory can be traced back to this scale! Engrave it into your mind.
Here we have the scale displayed with the correct frets to play indicated.
This is assuming we are starting from the 5th fret of the low E, as I often do in my lessons.
It can be useful at first to say the frets out loud, if this is the first scale you're learning.
Long term, we should be more interested in learning the shape of the scale, rather than being attached to any particular frets.
This way, we can move the scale around the fretboard freely!
Here we have the identical scale, but we've listed the notes in terms of the order they are played.
The proper term for this is the "Scale Degree".
This is a more useful way to think about the scale! As we advance through understanding music theory, you will be able to see how much everything refers back to the Major Scale.
It will be very important to know the Scale Degree of the Major Scale, so once you have the shape memorized, try playing it while saying the scale degree out loud.
Don't just play the scale and move on. Learn more about digging deeper HERE.