Riffs are written in tab. Each line is a string, and each number is the fret to press. A 0 is the open string.
0
3
0
2
Watch out. The top line is the thinnest string. That's upside down from how you look down at your guitar, and everyone mixes it up at first.
Read tab already?