Fan spins crazy while running game

Sup guys,

I notice when I run computer games such as sims 2 and gb and other stuff, my computer fan spins like hell and its noisy too. But the memory on my computer is still fine. When I close the games it goes back to normal and super quiet.

This might be too broad, just any ideas on how I can get this d*** fan to stop being so loud?

Sorry i’m just not much of a computer fixer typa guy, but i do understand how stupid this question is. -Senses sarcasm coming on-