Computer freezes up no matter how many times I reformat.

iseeu1001

Distinguished
Dec 23, 2012
229
1
18,715
So my computer has recently been freezing up and I don't know what to do about it. Its only been freezing up when I play youtube videos. I have tried with chrome, Edge browser, and mozilla but my internet will always freeze up when playing any youtube videos. I have tried reformatting like 3 different times and I have no idea what could be the cause of it other then youtube cause all my specs are good enough. I don't get why my youtube lags making me force close it and start it back up but it will still lag and forcing me to do the same thing over and over. I have a good enough internet connection which is 50/50 which makes no sense and I like I said this mostly happens on youtube and sometimes gaming. Like I have said I refromatted my pc 3 times and rebooted my router 3 times also to factory settings and no difference.
Specs:
Windows 10 64 bit
Nvidia Geforce MSI GTX 1060 6gb
16GB DDR4 ram
1tb western digital HDD+ Crucial MX300 275GB SSD(where os is loaded)
Core i5-6500