the exact same way you do on windows 7 and earlier XD update all your hardware's drivers to the latest. update windows updates to the latest updates. install directX ( ), install 32bit AND 64bit java ( ) install minecraft. (you dont really need directX for this since it uses opengl and not directx,. but its good to have it for other games and other things) without knowing your pc specs, or having a screenshot of the error, your help will be limited.