As a rogue your best bet to avoid damage. You are usually pretty squishy in the party. Luckily at 5th level you get uncanny dodge (PHB 96). Best reaction ever!
If you get hit with an attack, you use your reaction to take half damage … of any type of damage. Whoa. This makes the rogue almost resistant to all damage.
Pro-tip: Spell attacks are attacks! ( but if a spell requires a save, wait for Rogue lvl 7 Evasion skill)
Pro-pro-Tip: Use your opportunity attacks sparingly, so you can save them for uncanny dodge