If you're external, you can learn directx or opengl, which ever one you prefer, and for internal you can hook and draw using csgo functions.
You have no idea what are you doing stop asking for spoonfeed, learn the basics what the hell is so hard about that?