Which version of MacOS, and how long after it has booted? If it runs a few minutes then it may be overheating as suggested, but if it happens immediately after it has booted, it is less likely to be that, and more likely to be something like a system setting or compatibility issue.