Homecomputer shuts down when playing games

computer shuts down when playing games