There’s more than enough different ways to make games, which can’t all be explained in one post here.
If you’d like to start making games, I’d suggest you start with a game engine that takes the complicated parts away from the user. Maybe try Godot.
Apart from that, you would ideally need to learn a programming language as well, but that’s a whole different story. Searching online should bring plenty of results.