The best way I think is by just making a simple game. You could start by making "pong" or "pacman" clone. This should give you a nice and easy start if you're new to game development.