If you’re using a game engine, learn the language(s) that it suppprts.
Otherwise, you can use pretty much any language for making games. In the industry, however, C++ is a common choice because it is fast and flexible, though not easy to learn. C# is a common alternative to C++; It is easier to learn and use, though you lose some of the speed and flexibility that C++ offers.
What you choose ultimately comes down to what kind of game you want to make. If the game is to have realistic graphics or large worlds, choosing a fast language will be necessary. On the other hand, if your game is going to have simple 2-D graphics or no graphics at all and isn’t going to have massive amounts of game objects active at once, easier to use (but slower) scripting languages could be used, such as Python or Lua.
Programming language choice will also depend on how experienced you are; If you have never programmed before, choosing an easier to use language like Lua will be a bonus.