Well, that depends on what you want. First of all, you should define R as a function of dummy variables (patterns, the little underscores after the letters), and you’re missing a set of curly braces in your Piecewise:
R[x_, a_] := Piecewise[{{a x + 8, x <= -3}, {x^2 + 2 a^2, x > -3}}]
You could now do various types of plots; for instance, you can pick a value of a that you’re interested in and do a Plot for that value. Or you can play around with Manipulate to find an interesting a. You could also use Plot3D to create a 3D plot of R versus both x and a. Starting from these functions, I’ll let you explore the Documentation a bit - you can always come back if you need more specific help.