Flat Triangle

I’m new to OpenGL and was wondering how to go about drawing a flat triangle but one that has some thickness to it. Like a 3D yield sign. Do I need to do a glVertex for each corner? But how do I make it 3D?

THank You
Xon

draw a triangle for the front and back, and three quads for the sides