Computer has been freezing a lot lately

So i built my first gaming rig just over two years ago with the help of the Tek Syndicate community and it has been great to me, but now my computer seems to be freezing a lot lately and i made sure all my drivers were up to date and they are but the freezing still happens from time to time. Oddly enough it seems to freeze a lot when doing simple stuff like web browsing or if the computer is just idle for a while it freezes. It rarely happens when playing game (except Dirty Bomb, that game freezes in the tutorial and i cant get passed it). I was just wondering if there is any way to monitor why the computer crashed previously and from the information i could know how to fix it. Whether it be a software that does it or some trick to finding out because I want to get this fixed before it gets any worse.

Have you been running a large overclock for the last two years?

No Just got a new Graphics Card and CPU in may for my birthday.

Same manufacturer GPU? Or did you switch?

They are both AMD. Went from an XFX Radeon 7970 to a Saphire R9-290x

no particular order....
- look at the system event viewer - look up Wendel's vid about it.
- run memtest86 to check the RAM
- case airflow adequate?
- temps in order of components? use something like hwmonitor to check the temps of everthing.
- if anything is overclocked revert back to stock
- what are the specs? especially the psu (make & model) - going from a 7970 to a 290x is a big step up in power delivery requirements
- run a linux distro off a usb for awhile - if shit is stable and all good then its a good indication that there is something fishy going on with your storage (hdd, ssd)

ok ill look into all of this. Sorry for not replying ive been busy the past two weeks and going in and out of town and haven't really been near my computer. Ill let you know what i find out. My airflow is fine though because i have the side panel off most the time but i frequently clean the inside of dust, and temperatures aren't a problem neither because i always have them monitored.

lol had similar issues 8350 with 7870 to msi380. it was crashing alot at first and randomly too, after 15.7 it was slighty more stable. i think power efficiency increase somewhere. but it still crashed every so often. so i reverted to stock clocks for my 8350 and now its running like a champ. rendered video for 24 hours now. and its still going strong