Unfortunately, you didn't tell us which operating system you have, but since it's only two months old, I'll guess it's Windows 10. As such, I'd first start but preventing unnecessary programs from loading at startup. Uninstall anything you don't need and then follow the steps in the chart, in the link below to prevent those unneeded programs from running in the background. (If you happen to have more than one antivirus running, uninstall one).
After that, it seems as though the Windows 10 "upgrade" process may not install all the files correctly, or maybe they're damaged, or maybe something else, but running Chkdsk has fixed quite a few of these minor glitches. Try running Chkdsk in "repair" mode to find any damaged files and correct them. Start by opening a command prompt as an admin. RIGHT click on the Start button, choose "Command Prompt (Admin). (Or type "Command" in the search line, then RIGHT click on the "Command Prompt" listing at the top, choose "Run as admin".) Once there, type chkdsk /f /r /x, leaving the appropriate spaces between the letters as shown, then press the Enter key. You should see a note that it can't be run till a restart is done, type "Y" for yes, then press the Enter key again. Close the command prompt and restart the computer. Chkdsk will run upon restart and will take quite a while to finish.. Don't panic when the progress bar stays at 10% for a long time. It's fairly normal and the Chkdsk process may take a couple of hours.
When it's finished, it will boot to your normal startup/lock screen and you can login normally and then see if things are working correctly again.
Hope this helps.
So I've had my PC for close to 2 months now and over the past few days I've had this problem where my PC just freezes with a buzzing sound and I have to turn it off, the games I frequently play are Destiny 2, Assetto Corsa and Terraria, this usually happens most frequently in Destiny 2, it's not uncommon on Assetto Corsa and it's happened twice in Terraria. It also quite frequently happens just on my desktop. I have tried many things, like checking all my fans are running i downloaded a program that allowed fans to spin at different speeds and tried all different settings, I tried updating my drivers, checking my ram everything but nothing has worked and i'm sort of running out of ideas. I would get a new set of Parts but money doesn't grow on trees and I don't really have access to that kind of money anyways. My dad bought this PC so i'm hoping to get it fixed since he'll be quite pissed that it's non-functional within 2 months of owning it, any advice at all is welcome thanks.