Hmmmm I might be wrong but here's what I think. You look at the chords you have in the song and you find the scale that has all those notes in it.
In this case G Em C D i think its an Em pentatonic scale since the Em pentatonic his built with these notes : E - F# - G - A - B - C - D.
Hopefully i'm right hehehe.