By graphics, I assume you mean windows and/or games or things. There are a few ways, but I recommend getting Qt - get it from https://qt-project.org/downloads
Qt is a toolkit for making windows in a cross-platform manner, and it is much easier than going to native code (especially for Linux systems). If you want to make games, though, as well as Qt there are also things like SFML, SDL, GLFW and others to create windows for you, which are simpler to get something up and running than Qt, at the loss of being able to do anything apart from making a game as easily. Its really down to what you want to do.
Ubuntu is the name of your Linux distribution. If you want to use graphics in your program you will have to use a library (Qt, GTK+, SFML, SDL, Allegro, Xlib, ...). It doesn't really matter if you use Ubuntu or not because those libraries are available for all Linux distributions.
Nah, asking questions is easy. Asking an informed question that won't be ridiculed as not being detailed enough or making sense so others know what you are needing help with is real hard especially if you aren't 100% sure how to word it or the terms for what you are wanting to make.
Unfortunately, if you can't tell from the replies above, we aren't even sure what you mean by "use graphics". Are you talking ASCII graphics or 2D graphics because I've seen beginners refer to using 2D graphics as using graphics in terminal. The above replies tried to accommodate your vagueness of the question, but without knowing exactly what you mean by "use graphics" I'm afraid we can't get any more specific other than what has been recommended already.