You need to download and install the pygame module provided by python.
To download and install on Pycharm, follow these steps:
Goto File -> Settings -> click on the tiny plus sign on the right top corner as shown below.

You'll see a search tab, type the module name there. In your case its pygame.

Finally, click on install package and you're good to go!